Ad
  • Default User Avatar

    paste this code into your IDE. See what happens in the program through the debugger. It uses recursion and dynamic programming (the task is divided into smaller ones and solved separately)

    Great solution, well done!