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, ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible results