File tree
1,384 files changed
+1
-77190
lines changed- solution
- 0000-0099
- 0001.Two Sum
- 0002.Add Two Numbers
- 0003.Longest Substring Without Repeating Characters
- 0004.Median of Two Sorted Arrays
- 0005.Longest Palindromic Substring
- 0006.ZigZag Conversion
- 0007.Reverse Integer
- 0008.String to Integer (atoi)
- 0009.Palindrome Number
- 0010.Regular Expression Matching
- 0011.Container With Most Water
- 0012.Integer to Roman
- 0013.Roman to Integer
- 0014.Longest Common Prefix
- 0015.3Sum
- 0016.3Sum Closest
- 0017.Letter Combinations of a Phone Number
- 0018.4Sum
- 0019.Remove Nth Node From End of List
- 0020.Valid Parentheses
- 0021.Merge Two Sorted Lists
- 0022.Generate Parentheses
- 0023.Merge k Sorted Lists
- 0024.Swap Nodes in Pairs
- 0025.Reverse Nodes in k-Group
- 0026.Remove Duplicates from Sorted Array
- 0027.Remove Element
- 0028.Implement strStr()
- 0029.Divide Two Integers
- 0030.Substring with Concatenation of All Words
- 0031.Next Permutation
- 0032.Longest Valid Parentheses
- 0033.Search in Rotated Sorted Array
- 0034.Find First and Last Position of Element in Sorted Array
- 0035.Search Insert Position
- 0036.Valid Sudoku
- 0037.Sudoku Solver
- 0038.Count and Say
- 0039.Combination Sum
- 0040.Combination Sum II
- 0041.First Missing Positive
- 0042.Trapping Rain Water
- 0043.Multiply Strings
- 0044.Wildcard Matching
- 0045.Jump Game II
- 0046.Permutations
- 0047.Permutations II
- 0048.Rotate Image
- 0049.Group Anagrams
- 0050.Pow(x, n)
- 0051.N-Queens
- 0052.N-Queens II
- 0053.Maximum Subarray
- 0054.Spiral Matrix
- 0055.Jump Game
- 0056.Merge Intervals
- 0057.Insert Interval
- 0058.Length of Last Word
- 0059.Spiral Matrix II
- 0060.Permutation Sequence
- 0061.Rotate List
- 0062.Unique Paths
- 0063.Unique Paths II
- 0064.Minimum Path Sum
- 0065.Valid Number
- 0066.Plus One
- 0067.Add Binary
- 0068.Text Justification
- 0069.Sqrt(x)
- 0070.Climbing Stairs
- 0071.Simplify Path
- 0072.Edit Distance
- 0073.Set Matrix Zeroes
- 0074.Search a 2D Matrix
- 0075.Sort Colors
- 0076.Minimum Window Substring
- 0077.Combinations
- 0078.Subsets
- 0079.Word Search
- 0080.Remove Duplicates from Sorted Array II
- 0081.Search in Rotated Sorted Array II
- 0082.Remove Duplicates from Sorted List II
- 0083.Remove Duplicates from Sorted List
- 0084.Largest Rectangle in Histogram
- 0085.Maximal Rectangle
- 0086.Partition List
- 0087.Scramble String
- 0088.Merge Sorted Array
- 0089.Gray Code
- 0090.Subsets II
- 0091.Decode Ways
- 0092.Reverse Linked List II
- 0093.Restore IP Addresses
- 0094.Binary Tree Inorder Traversal
- 0095.Unique Binary Search Trees II
- 0096.Unique Binary Search Trees
- 0097.Interleaving String
- 0098.Validate Binary Search Tree
- 0099.Recover Binary Search Tree
- 0100-0199
- 0100.Same Tree
- 0101.Symmetric Tree
- 0102.Binary Tree Level Order Traversal
- 0103.Binary Tree Zigzag Level Order Traversal
- 0104.Maximum Depth of Binary Tree
- 0105.Construct Binary Tree from Preorder and Inorder Traversal
- 0106.Construct Binary Tree from Inorder and Postorder Traversal
- 0107.Binary Tree Level Order Traversal II
- 0108.Convert Sorted Array to Binary Search Tree
- 0109.Convert Sorted List to Binary Search Tree
- 0110.Balanced Binary Tree
- 0111.Minimum Depth of Binary Tree
- 0112.Path Sum
- 0113.Path Sum II
- 0114.Flatten Binary Tree to Linked List
- 0115.Distinct Subsequences
- 0116.Populating Next Right Pointers in Each Node
- 0117.Populating Next Right Pointers in Each Node II
- 0118.Pascal's Triangle
- 0119.Pascal's Triangle II
- 0120.Triangle
- 0121.Best Time to Buy and Sell Stock
- 0122.Best Time to Buy and Sell Stock II
- 0123.Best Time to Buy and Sell Stock III
- 0124.Binary Tree Maximum Path Sum
- 0125.Valid Palindrome
- 0126.Word Ladder II
- 0127.Word Ladder
- 0128.Longest Consecutive Sequence
- 0129.Sum Root to Leaf Numbers
- 0130.Surrounded Regions
- 0131.Palindrome Partitioning
- 0132.Palindrome Partitioning II
- 0133.Clone Graph
- 0134.Gas Station
- 0135.Candy
- 0136.Single Number
- 0137.Single Number II
- 0138.Copy List with Random Pointer
- 0139.Word Break
- 0140.Word Break II
- 0141.Linked List Cycle
- 0142.Linked List Cycle II
- 0143.Reorder List
- 0144.Binary Tree Preorder Traversal
- 0145.Binary Tree Postorder Traversal
- 0146.Lru Cache
- 0147.Insertion Sort List
- 0148.Sort List
- 0149.Max Points on a Line
- 0150.Evaluate Reverse Polish Notation
- 0151.Reverse Words in a String
- 0152.Maximum Product Subarray
- 0153.Find Minimum in Rotated Sorted Array
- 0154.Find Minimum in Rotated Sorted Array II
- 0155.Min Stack
- 0156.Binary Tree Upside Down
- 0157.Read N Characters Given Read4
- 0158.Read N Characters Given Read4 II - Call multiple times
- 0159.Longest Substring with At Most Two Distinct Characters
- 0160.Intersection of Two Linked Lists
- 0161.One Edit Distance
- 0162.Find Peak Element
- 0163.Missing Ranges
- 0164.Maximum Gap
- 0165.Compare Version Numbers
- 0166.Fraction to Recurring Decimal
- 0167.Two Sum II - Input array is sorted
- 0168.Excel Sheet Column Title
- 0169.Majority Element
- 0170.Two Sum III - Data structure design
- 0171.Excel Sheet Column Number
- 0172.Factorial Trailing Zeroes
- 0173.Binary Search Tree Iterator
- 0174.Dungeon Game
- 0175.Combine Two Tables
- 0176.Second Highest Salary
- 0177.Nth Highest Salary
- 0178.Rank Scores
- 0179.Largest Number
- 0180.Consecutive Numbers
- 0181.Employees Earning More Than Their Managers
- 0182.Duplicate Emails
- 0183.Customers Who Never Order
- 0184.Department Highest Salary
- 0185.Department Top Three Salaries
- 0186.Reverse Words in a String II
- 0187.Repeated DNA Sequences
- 0188.Best Time to Buy and Sell Stock IV
- 0189.Rotate Array
- 0190.Reverse Bits
- 0191.Number of 1 Bits
- 0192.Word Frequency
- 0193.Valid Phone Numbers
- 0194.Transpose File
- 0195.Tenth Line
- 0196.Delete Duplicate Emails
- 0197.Rising Temperature
- 0198.House Robber
- 0199.Binary Tree Right Side View
- 0200-0299
- 0200.Number of Islands
- 0201.Bitwise AND of Numbers Range
- 0202.Happy Number
- 0203.Remove Linked List Elements
- 0204.Count Primes
- 0205.Isomorphic Strings
- 0206.Reverse Linked List
- 0207.Course Schedule
- 0208.Implement Trie (Prefix Tree)
- 0209.Minimum Size Subarray Sum
- 0210.Course Schedule II
- 0211.Add and Search Word - Data structure design
- 0212.Word Search II
- 0213.House Robber II
- 0214.Shortest Palindrome
- 0215.Kth Largest Element in an Array
- 0216.Combination Sum III
- 0217.Contains Duplicate
- 0218.The Skyline Problem
- 0219.Contains Duplicate II
- 0220.Contains Duplicate III
- 0221.Maximal Square
- 0222.Count Complete Tree Nodes
- 0223.Rectangle Area
- 0224.Basic Calculator
- 0225.Implement Stack using Queues
- 0226.Invert Binary Tree
- 0227.Basic Calculator II
- 0228.Summary Ranges
- 0229.Majority Element II
- 0230.Kth Smallest Element in a BST
- 0231.Power of Two
- 0232.Implement Queue using Stacks
- 0233.Number of Digit One
- 0234.Palindrome Linked List
- 0235.Lowest Common Ancestor of a Binary Search Tree
- 0236.Lowest Common Ancestor of a Binary Tree
- 0237.Delete Node in a Linked List
- 0238.Product of Array Except Self
- 0239.Sliding Window Maximum
- 0240.Search a 2D Matrix II
- 0241.Different Ways to Add Parentheses
- 0242.Valid Anagram
- 0243.Shortest Word Distance
- 0244.Shortest Word Distance II
- 0245.Shortest Word Distance III
- 0246.Strobogrammatic Number
- 0247.Strobogrammatic Number II
- 0248.Strobogrammatic Number III
- 0249.Group Shifted Strings
- 0250.Count Univalue Subtrees
- 0251.Flatten 2D Vector
- 0252.Meeting Rooms
- 0253.Meeting Rooms II
- 0254.Factor Combinations
- 0255.Verify Preorder Sequence in Binary Search Tree
- 0256.Paint House
- 0257.Binary Tree Paths
- 0258.Add Digits
- 0259.3Sum Smaller
- 0260.Single Number III
- 0261.Graph Valid Tree
- 0262.Trips and Users
- 0263.Ugly Number
- 0264.Ugly Number II
- 0265.Paint House II
- 0266.Palindrome Permutation
- 0267.Palindrome Permutation II
- 0268.Missing Number
- 0269.Alien Dictionary
- 0270.Closest Binary Search Tree Value
- 0271.Encode and Decode Strings
- 0272.Closest Binary Search Tree Value II
- 0273.Integer to English Words
- 0274.H-Index
- 0275.H-Index II
- 0276.Paint Fence
- 0277.Find the Celebrity
- 0278.First Bad Version
- 0279.Perfect Squares
- 0280.Wiggle Sort
- 0281.Zigzag Iterator
- 0282.Expression Add Operators
- 0283.Move Zeroes
- 0284.Peeking Iterator
- 0285.Inorder Successor in BST
- 0286.Walls and Gates
- 0287.Find the Duplicate Number
- 0288.Unique Word Abbreviation
- 0289.Game of Life
- 0290.Word Pattern
- 0291.Word Pattern II
- 0292.Nim Game
- 0293.Flip Game
- 0294.Flip Game II
- 0295.Find Median from Data Stream
- 0296.Best Meeting Point
- 0297.Serialize and Deserialize Binary Tree
- 0298.Binary Tree Longest Consecutive Sequence
- 0299.Bulls and Cows
- 0300-0399/0300.Longest Increasing Subsequence
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
1,384 files changed
+1
-77190
lines changed-41
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments