Nutanix Interview Question

LeetCode question of Even Odd Parity