Can this be solved using dp?

Revision en1, by jhjfbsbfkbjfnfnfjfj, 2020-04-30 14:23:46

I have been seeing a lot of questions like converting a number X to Y by following sets of operations.(add, subtract, multiply)Given a initial number x and two operations which are given below: Multiply number by 2. Add 1 to the number. i wonder if it can be solved using dp.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English jhjfbsbfkbjfnfnfjfj 2020-04-30 14:23:46 308 Initial revision (published)