Driver Code
public static void Main ( String [ ] args ) { int [ ] arr1 = { 1 , 2 , 4 , 3 , 2 } ; int [ ] arr2 = { 8 , 6 , 4 , 7 , 8 , 9 } ; int n1 = arr1 . Length ; int n2 = arr2 . Length ; longestBitonic ( arr1 , n1 , arr2 , n2 ) ; } }