Dynamic Programming

https://online.codingblocks.com/player/11088/content/731?s=1275
Bhaiya , My doubt is if a number is divisible both by 2 and 3 then i think we should divide it only by 3 (as a greed to reduce more)

Hey we dont access to online materal, Can u paste screenshot of this question.
Pls dont make new post , issi k niche paste kar dio screenshot.
If u have link of hackerblock , then you can paste hackerblock question link