← Nvidia questions

Sort array with even numbers left and odd numbers right

Filed under Nvidia

Given an array of integers, sort the array such that all even numbers appear on the left (in ascending order) and all odd numbers appear on the right (in ascending order).

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Nvidia questions

Collected from public candidate posts and coding forums. Updated Nov 2026.