Contents tagged with dynamic programming

  • codeforces 455 A Boredom

    Tags: algorithms, dynamic programming

    The solution I have developed is a dynamic programming twist. From the problem specification it is obvious to see that we can run a loop upto 10^5 and calculate max points using a recurrence … more