Linear Algorithm to Check If All 1’s Are at Least Length K Places Away May 3, 2020 algorithms, c / c++ No Comments Given an array nums of 0s and 1s and an integer k, return True if all 1’s are at least k places away from each other, otherwise return False. … [Continue Reading...]