Geek Coder C++ & Python code implementation of algorithms Leetcode | Offer No Solutions Difficulty Tags 1 Two Sum Easy Array 2 Add Two Numbers Medium Array 3 Longest Substring Without Repeating Characters Medium Array 5 Longest Palindromic Substring Medium Array 11 Container With Most Water Medium Array 15 3Sum Medium Array 134 Gas Station Medium Array 118 Pascal's Triangle Easy Array 119 Pascal's Triangle II Easy Array 189 Rotate Array Easy Array 26 Remove Duplicates from Sorted Array Easy Array 27 Remove Element Easy Array 299 Bulls and Cows Easy Array 41 First Missing Positive Hard Array 80 Remove Duplicates from Sorted Array II Medium Array 169 Majority Element Easy Array 229 Majority Element II Medium Array 274 H-Index Medium Array 243 Shortest Word Distance Easy Array 244 Shortest Word Distance II Easy Array 245 Shortest Word Distance III Easy Array 217 Contains Duplicate Easy Array 55 Jump Game Medium Array & DP 45 Jump Game II Hard Array 121 Best Time to Buy and Sell Stock Easy Array 122 Best Time to Buy and Sell Stock II Easy Array 217 Contains Duplicate Easy Array 42 Trapping Rain Water Hard Array 334 Increasing Triplet Subsequence Medium Array 128 Longest Consecutive Sequence Hard Array 164 https://leetcode.com/problems/maximum-gap/ Hard Array 108 Convert Sorted Array to Binary Search Tree Easy Tree