Ugly Number DP Wrong Answer


Why i am getting wrong answer in test case

Please respond whats wrong with this code

Pls refer to this code…

This is edited code… Try to submit now…