LeetCode Question

#1004 Max Consecutive Ones III

Question Details

LeetCode #1004: Max Consecutive Ones III. Difficulty: Medium. Topics: Array, Binary Search, Sliding Window, Prefix Sum. Asked at Yandex in the last 6 months.

Original Source

This is a frequency-tagged signal. The full problem statement lives on the original source.

View original →

About This Question

This is a reported interview question from a yandex interview for a swe role during the coding round.

It covers the following topics: Prefix Sum, Arrays, Binary Search, Sliding Window .

Difficulty rating: Medium