Find longest bitonic subsequence in given array. Bitonic subsequence first increases then decreases.
Same problem link
Longest Bitonic Subsequence