Skip to content

Commit d9dbb3a

Browse files
authored
Update 1004-max-consecutive-ones-iii.md
1 parent bbff2d4 commit d9dbb3a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

dsa-solutions/lc-solutions/1000-1099/1004-max-consecutive-ones-iii.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
---
2-
32
id: max-consecutive-ones-iii
43
title: Max Consecutive Ones III
5-
level: medium
64
sidebar_label: Max Consecutive Ones III
75
tags:
86
- Array
@@ -11,7 +9,6 @@ tags:
119
- Python
1210
- C++
1311
description: "This document provides solutions for the Max Consecutive Ones III problem on LeetCode."
14-
1512
---
1613

1714
## Problem Statement
@@ -156,4 +153,4 @@ public:
156153
- **Track the Maximum Window Size**:
157154
- We update `maxOnes` to the maximum window size found during the process.
158155

159-
This approach efficiently finds the maximum number of consecutive ones by maintaining a sliding window of valid subarrays, ensuring optimal performance for large input sizes.
156+
This approach efficiently finds the maximum number of consecutive ones by maintaining a sliding window of valid subarrays, ensuring optimal performance for large input sizes.

0 commit comments

Comments
 (0)