-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Day 2 Two Pointers #10
Comments
30 tasks
llama90
added a commit
that referenced
this issue
May 31, 2022
Naive Approach189
977
|
llama90
added a commit
that referenced
this issue
Jun 1, 2022
Improvement189
977
|
llama90
added a commit
that referenced
this issue
Jun 1, 2022
feat(leetcode), #10 study two pointers problems
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problems
Two Pointers
Overview
The pointers refer to an array's indexes. By using pointers, we can process two elements per loop, instead of just one.
Both of the above patterns can reduce the time and space complexity.
Example
Reference
The text was updated successfully, but these errors were encountered: