LeetCode LeetCode Algorithms (Notes: ":lock:" means you need to subscribe to premium membership from Leetcode) # Title Solution Difficulty 001 Two Sum C# Easy 002 Add Two Numbers C# Medium 003 Longest Substring Without Repeating Characters C# Medium 004 Median of Two Sorted Arrays C# Hard 005 Longest Palindromic Substring C# Medium 006 ZigZag Conversion C# Easy 007 Reverse Integer C# Easy 008 String to Integer (atoi) C# Easy 009 Palindrome Number C# Easy 010 Regular Expression Matching C# Hard 011 Container With Most Water C# Medium 012 Integer to Roman C# Medium 013 Roman to Integer C# Easy 014 Longest Common Prefix C# Easy 015 3Sum C# Medium 016 3Sum Closest C# Medium 017 Letter Combinations of a Phone Number C# Medium 018 4Sum C# Medium 019 Remove Nth Node From End of List C# Easy 020 Valid Parentheses C# Easy 021 Merge Two Sorted Lists C# Easy 022 Generate Parentheses C# Medium 023 Merge k Sorted Lists C# Hard 024 Swap Nodes in Pairs C# Easy 025 Reverse Nodes in k-Group C# Hard 026 Remove Duplicates from Sorted Array C# Easy 027 Remove Element C# Easy 028 Implement strStr C# Easy 029 Divide Two Integers C# Medium 030 Substring with Concatenation of All Words C# Hard 031 Next Permutation C# Medium 032 Longest Valid Parentheses C# Hard 033 Search in Rotated Sorted Array C# Hard 034 Search for a Range C# Medium 035 Search Insert Position C# Medium 036 Valid Sudoku C# Easy 037 Sudoku Solver C# Hard 038 Count and Say C# Easy 039 Combination Sum C# Medium 040 Combination Sum II C# Medium 041 First Missing Positive C# Hard 042 Trapping Rain Water C# Hard 043 Multiply Strings C# Medium 044 Wildcard Matching C# Hard 045 Jump Game II C# Hard 046 Permutations C# Medium 047 Permutations II C# Medium 048 Rotate Image C# Medium 049 Group Anagrams C# Medium 050 Powx, n C# Medium 051 NQueens C# Hard 052 NQueens II C# Hard 053 Maximum Subarray C# Medium 054 Spiral Matrix C# Medium 055 Jump Game C# Medium 056 Merge Intervals C# Hard 057 Insert Interval C# Hard 058 Length of Last Word C# Easy 059 Spiral Matrix II C# Medium 060 Permutation Sequence C# Medium 061 Rotate List C# Medium 062 Unique Paths C# Medium 063 Unique Paths II C# Medium 064 Minimum Path Sum C# Medium 065 Valid Number C# Hard 066 Plus One C# Easy 067 Add Binary C# Easy 068 Text Justification C# Hard 069 Sqrtx C# Medium 070 Climbing Stairs C# Easy 071 Simplify Path C# Medium 072 Edit Distance C# Hard 073 Set Matrix Zeroes C# Medium 074 Search a 2D Matrix C# Medium 075 Sort Colors C# Medium 076 Minimum Window Substring C# Hard 077 Combinations C# Medium 078 Subsets C# Medium 079 Word Search C# Medium 080 Remove Duplicates from Sorted Array II C# Medium 081 Search in Rotated Sorted Array II C# Medium 082 Remove Duplicates from Sorted List II C# Medium 083 Remove Duplicates from Sorted List C# Easy 084 Largest Rectangle in Histogram C# Hard 085 Maximal Rectangle C# Hard 086 Partition List C# Medium 087 Scramble String C# Hard 088 Merge Sorted Array C# Easy 089 Gray Code C# Medium 090 Subsets II C# Medium 091 Decode Ways C# Medium 092 Reverse Linked List II C# Medium 093 Restore IP Addresses C# Medium 094 Binary Tree Inorder Traversal C# Medium 095 Unique Binary Search Trees II C# Medium 096 Unique Binary Search Trees C# Medium 097 Interleaving String C# Hard 098 Validate Binary Search Tree C# Medium 099 Recover Binary Search Tree C# Hard 100 Same Tree C# Easy 101 Symmetric Tree C# Easy 102 Binary Tree Level Order Traversal C# Medium 103 Binary Tree Zigzag Level Order Traversal C# Medium 104 Maximum Depth of Binary Tree C# Easy 105 Construct Binary Tree from Preorder and Inorder Traversal C# Medium 106 Construct Binary Tree from Inorder and Postorder Traversal C# Medium 107 Binary Tree Level Order Traversal II C# Easy