Topic: Array Problem / Level: beginner

Problem: Find the longest contiguous subarray with alternating odd and even elements.

Run the code to see the output here...