# Maximum Consecutive Ones Pattern (ATMOST pattern)

- [\*\*\*Max Consecutive Ones (Leetcode 485)](/dsa-in-python/sliding-window-pattern/maximum-consecutive-ones-pattern-atmost-pattern/max-consecutive-ones-leetcode-485.md)
- [\*\*\*Max Consecutive Ones II](/dsa-in-python/sliding-window-pattern/maximum-consecutive-ones-pattern-atmost-pattern/max-consecutive-ones-ii.md)
- [\*\*\*Max Consecutive Ones III (Leetcode 1004)](/dsa-in-python/sliding-window-pattern/maximum-consecutive-ones-pattern-atmost-pattern/max-consecutive-ones-iii-leetcode-1004.md)
- [\*\*\*Longest Subarray of 1's After Deleting One Element (Leetcode 1493)](/dsa-in-python/sliding-window-pattern/maximum-consecutive-ones-pattern-atmost-pattern/longest-subarray-of-1s-after-deleting-one-element-leetcode-1493.md)
- [Fruit Into Baskets (Leetcode 904)](/dsa-in-python/sliding-window-pattern/maximum-consecutive-ones-pattern-atmost-pattern/fruit-into-baskets-leetcode-904.md)
- [Longest Substring with atmost two distinct characters](/dsa-in-python/sliding-window-pattern/maximum-consecutive-ones-pattern-atmost-pattern/longest-substring-with-atmost-two-distinct-characters.md)
- [Longest Substring with At Most K Distinct Characters](/dsa-in-python/sliding-window-pattern/maximum-consecutive-ones-pattern-atmost-pattern/longest-substring-with-at-most-k-distinct-characters.md)
