Topic: Array Problem / Level: intermediate

Problem: Find the longest subarray with an alternating even-odd sequence.

Run the code to see the output here...