@ Anu007 sir $10 \ + \ 26 + \ 51+10\times 10+27=214 $ Whats wrong with this ? This program has nothing to do with DP ,it should be dynamic scoping is used.
64.3k questions
77.9k answers
244k comments
80.0k users