DP: longest bitonic subsequence