Hey! My name is Tomas. Thanks for checking out my channel.
Problem
LeetCode 3. Longest Substring Without Repeating Characters
https://leetcode.com/problems/longest-substring-without-repeating-characters
GitHub Solution
Solution: https://github.com/R-Tomas-Gonzalez/github/tree/main/0003-longest-substring-without-repeating-characters
Resources
Math.max(): https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/max
Notes
Sliding Window
WHEN DO WE WANT TO MOVE FORWARD?
• we want to move our left pointer forward, if the letter exists
• return count at the end
• Connect with me on LinkedIn: https://www.linkedin.com/in/rtomasgonzalez/
• Connect with me on GitHub: R-Tomas-Gonzalez (Tomas Gonzalez)
Happy Coding!
Download
0 formats
No download links available.
How to Solve LeetCode 3. Longest Substring Without Repeating Characters in JavaScript | NatokHD