Topic: Two Pointer Problem / Level: beginner

Problem: Find the longest subarray that alternates between odd and even numbers using two pointers.

Run the code to see the output here...