Why can we cut down the flag variable in digit DP?

Правка en1, от abhinav700, 2025-09-10 07:37:01

In some solutions, we cut down the flag as demonstrated in this blog post

I am new to the digit DP, and am not able to understand the core reasoning behind in.

Can someone explain it please?

Теги dp, digit dp, doubt

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский abhinav700 2025-09-10 07:38:44 125
en1 Английский abhinav700 2025-09-10 07:37:01 289 Initial revision (published)