Tag: a-two-pointers
All the articles with the tag "a-two-pointers".
-
LeetCode 1346 Check If N and Its Double Exist
Solutions for LeetCode 1346, easy, tags: array, hash table, two pointers, binary search, sorting.
-
LeetCode 214 LintCode 678 Shortest Palindrome (GeeksForGeeks Minimum Insertion to Form Shortest Palindrome)
Solutions for LeetCode 239, LintCode 678, medium, tags: two pointers, string, kmp, rabin-karp, rolling hash.
-
LeetCode 487 LintCode 883 Max Consecutive Ones II
Solutions for LeetCode 487, LintCode 833, medium, tags: array, dynamic programming, sliding window, two pointers, companies: google.
-
LeetCode 1055 LintCode 3652 Shortest Way to Form String
Solutions for LeetCode 1055 LintCode 3652, hard, tags: greedy, two pointers, string.
-
LeetCode 125 LintCode 415 Valid Palindrome
Updated:Solutions for LeetCode 125, LintCode 415, easy, tags: two pointers, string. Companies: LinkedIn, Facebook, Uber, Zenefits, Microsoft.
-
LeetCode 2563 Count the Number of Fair Pairs
Updated:Solutions for LeetCode 2563, medium, tags: array, two pointers, binary search, sorting.