Skip to content

Commit

Permalink
update post
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-jonghoonpark committed May 4, 2024
1 parent c7252c2 commit 2fe1729
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions _posts/2024-02-18-leetcode-3.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@ class Solution:
return length

for i, char in enumerate(characters):
length = findLongestSubstring(i)
if length > longest:
longest = length
longest = max(longest, findLongestSubstring(i))

return longest
```
Expand Down

0 comments on commit 2fe1729

Please sign in to comment.