Skip to content

Commit e9d2803

Browse files
committed
added solution for leetcode problem number 138
2 parents 14a3a3c + d9dbb3a commit e9d2803

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

dsa-solutions/lc-solutions/1000-1099/1002-find-common-characters.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
---
2-
32
id: find-common-characters
43
title: Find Common Characters
5-
level: easy
64
sidebar_label: Find Common Characters
75
tags:
86
- Hash Table
@@ -153,4 +151,4 @@ public:
153151
- **Build Result**:
154152
- Iterate through the `minFreq` array and collect characters that have a non-zero frequency.
155153
156-
This approach ensures that we find the common characters that appear in all words within the `words` array, considering the constraints and requirements of the problem.
154+
This approach ensures that we find the common characters that appear in all words within the `words` array, considering the constraints and requirements of the problem.

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)