Topic: Divide And Conquer Problem / Level: intermediate

Problem: Write a divide and conquer solution to find the longest alternating subsequence in an array.

Run the code to see the output here...