02.09.2026
3875. Construct Uniform Parity Array I easy
https://dmitrysamoylenko.com/leetcode/
Join me on Telegram
https://t.me/leetcode_daily_unstoppable/1470
Problem TLDR
Can make all even/odd by subtracting any other
Intuition
If we have one odd and one even, like 1+3, then we cam con make all elements as even or odd as we want.
Approach
* 1>0 is the shortest
Complexity
Time complexity: O(1)
Space complexity: O(1)
Code
fun uniformArray(n: IntArray) = 1>0 pub fn uniform_array(n: Vec<i32>) -> bool {1>0}

