Topic: Array Problem / Level: intermediate

Problem: Check if an array can be rearranged such that all even numbers appear before odd numbers using a two-pointer approach.

Run the code to see the output here...