Given a binary array nums and an integer k, return true if all k places from each other, or false otherwise.
Constraints:
nums.length
k nums.length
nums[i] is either
Given a binary array nums and an integer k, return true if all k places from each other, or false otherwise.
Constraints:
nums.length
k nums.length
nums[i] is either