Blog
View all tagsLongest Increasing Subsequence And Patience Game(Part2)
Implementation of the O(nlogn) solution
Longest Increasing Subsequence And Patience Game(Part1)
Idea behind the O(nlogn) solution
Integer Partition With Distinct Parts
Number of ways to write an integer as the sum of a decreasing sequence, e.g., 5=4+1=3+2