Special Array I
An array is considered special if every pair of its adjacent elements contains two numbers with different parity.
You are given an array of integers nums. Return true if nums is a special array, otherwise, return false.
LeetCode Problem - 3151
class ...
perfinsights.hashnode.dev2 min read