Tag: a-two-pointers
All the articles with the tag "a-two-pointers".
-
LeetCode 15 3Sum
Solutions for LeetCode 15, medium, tags: array, two pointers, sorting, hash table.
-
LeetCode 42 Trapping Rain Water
Solutions for LeetCode 42, hard, tags: array, two pointers, dynamic programming, stack, monotonic stack.
-
LeetCode 532 LintCode 1187 K-diff Pairs in An Array
Solutions for LeetCode 532 LintCode 1187, medium, tags: array, hash table, counting, two-pointers, binary-search; companies: nvidia, amazon.
-
LeetCode 713 LintCode 1075 Subarray Product Less Than K
Solutions for LeetCode 713 and LintCode 1075, medium, tags: sliding window, two pointers, prefix sum; companies: salesforce, yatra.
-
LeetCode 1650 LintCode 474 Lowest Common Ancestor of a Binary Tree III
Solutions for LeetCode 1650 LintCode 474, medium, tags: binary tree, hash table, two pointers; companies: microsoft.
-
LeetCode 408 LintCode 637 Valid Word Abbreviation
Solutions for LeetCode 408 LintCode 637, easy, tags: two pointers, string, companies: facebook, google.