LIKE CODING
Sunday, June 16, 2019
LeetCode_Summary [Two Pointers]
LeetCode [283] Move Zeroes
LeetCode [26] Remove Duplicates from Sorted Array
LeetCode [524] Longest Word in Dictionary through Deleting
LeetCode [3] Longest Substring Without Repeating Characters
LeetCode [30] Substring with Concatenation of All Words
LeetCode [76] Minimum Window Substring
LeetCode [159] Longest Substring with At Most Two Distinct Characters
LeetCode [567] Permutation in String
LeetCode [904] Fruit Into Baskets
maintain "start_index" and "end_index"
the two indices go towards each other
LeetCode [11] Container With Most Water
LeetCode [15] 3Sum
LeetCode [125] Valid Palindrome
LeetCode [344] Reverse String
LeetCode [977] Squares of a Sorted Array
maintain two indices on two vectors
both indices go backwards from the end
LeetCode [88] Merge Sorted Array
LeetCode [844] Backspace String Compare
fast and slow indices
both go towards the same direction
LeetCode [141] Linked List Cycle
LeetCode [457] Circular Array Loop
Others
LeetCode [234] Palindrome Linked List
LeetCode [632] Smallest Range
No comments:
Post a Comment
Newer Post
Older Post
Home
View mobile version
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment