Topic: Two Pointer Problem / Level: beginner

Problem: Find the longest subarray where all elements are odd and divisible by a given value using two pointers.

Run the code to see the output here...