Add solution for UVA problem 10131 Is Bigger Smarter?
Dynamic Programming
Convert the problem as "Longest Increasing Subsequence" problem