Leetcode 1550 - Three Consecutive Odds [1/7/24]

Поділитися
Вставка
  • Опубліковано 29 чер 2024
  • Time Taken: ~5 mins
    Tag: LeetCode Easy
    Concept: Sliding Window
    High-level ideas:
    - Keep track of “startInd” and “endInd” of current effective sliding window of consecutive odd numbers
    - If size of window == 3, return true

КОМЕНТАРІ •