alg:Dynamic Programming,variation of LIS problem
alg:print solution for Longest Bitonic Subsequence