Skip to content

Commit 7d0e59e

Browse files
Fix typo
1 parent 784ef68 commit 7d0e59e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/flood_fill.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
NOTES
77
* Use breadth-first search.
88
9-
This problem is very straight-forward if you use breadth-first search. Simply
9+
This problem is very straightforward if you use breadth-first search. Simply
1010
add adjacent pixels that share the same color as the starting pixel to the
1111
queue and run the algorithm.
1212

src/longest_repeating_character_replacement.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
window size - frequency of most common character ≤ k
1414
1515
Initially, I inverted the logic, searching instead for the longest substring
16-
with > k replacements. The correct solution is pretty straight-forward *if* you
16+
with > k replacements. The correct solution is pretty straightforward *if* you
1717
are working from the above premise. Additionally, I've added the canonical
1818
sliding window implementation. Its form should look familiar...
1919
"""

src/string_compression.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
be used to store the solution, the encoded string. Given that the array of the
2121
encoded string will contain at most 'n' elements, this is tractable.
2222
23-
The solution is pretty straight-forward and can be solved in linear runtime
23+
The solution is pretty straightforward and can be solved in linear runtime
2424
complexity, O(n), and constant space complexity, O(1).
2525
2626
We start with two pointers:

0 commit comments

Comments
 (0)