Skip to content
RED SAG Skills
hard20 pts · first answer countsdynamic-programmingcountingjavascript

Counting DP mod 1e9+7 in JavaScript

A JavaScript DP multiplies two counts, each below 10^9 + 7, then takes % 1000000007. Results are sometimes wrong. Why?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions