Leetcode

an archive of posts in this category

Jun 29, 2021 Rabin–Karp algorithm
Apr 16, 2021 Generate Parentheses
Jun 16, 2020 Is a Balanced Binary Tree
Dec 26, 2019 How to buy and sell stock at the best time
Dec 08, 2019 Word Break
Nov 20, 2019 Max Increase to Keep City Skyline
Oct 19, 2019 My Calendar I
Oct 19, 2019 Find the Shortest Superstring
Oct 18, 2019 Best Time to Buy and Sell Stock with Transaction Fee
Oct 13, 2019 Reverse Pairs
Oct 10, 2019 Largest Rectangle in Histogram
Oct 07, 2019 Get N primes
Oct 07, 2019 Is Graph Bipartite?
Oct 04, 2019 Word Break
Oct 04, 2019 Increasing Triplet Subsequence
Oct 03, 2019 Evaluate Division
Oct 03, 2019 Implement Trie (Prefix Tree)
Oct 01, 2019 Missing Ranges
Sep 29, 2019 Longest Consecutive Sequence
Sep 28, 2019 Most Stones Removed with Same Row or Column
Sep 27, 2019 Brace Expansion
Sep 26, 2019 Delete Nodes And Return Forest
Sep 26, 2019 Decode String
Sep 25, 2019 Sentence Similarity II
Sep 24, 2019 Campus Bikes II
Sep 23, 2019 Delete Nodes And Return Forest
Sep 22, 2019 Union-Find Python Implementation
Sep 21, 2019 Minimum Knight Moves
Sep 21, 2019 Sum Root to Leaf Numbers
Sep 20, 2019 Decode ways
Sep 20, 2019 Unique Binary Search Trees II
Sep 19, 2019 2 Keys Keyboard
Sep 18, 2019 Find K-th Palindrome Number of N Digits
Sep 18, 2019 Pow(x, n)
Sep 18, 2019 Stone Game II
Sep 17, 2019 Largest Sum of Averages
Sep 17, 2019 Repeated Substring Pattern
Sep 15, 2019 Wiggle Sort II
Sep 15, 2019 Increasing Triplet Subsequence
Sep 12, 2019 Flip Equivalent Binary Trees
Sep 10, 2019 Remove Zero Sum Consecutive Nodes from Linked List
Sep 09, 2019 Printing a pyramid matrix
Sep 09, 2019 Path In Zigzag Labelled Binary Tree
Sep 08, 2019 Remove Duplicates from Sorted Array
Sep 08, 2019 Permutations II
Sep 08, 2019 Permutation Sequence
Sep 07, 2019 Lowest Common Ancestor with N nodes
Sep 07, 2019 House Robber III
Sep 07, 2019 Next Permutation
Sep 07, 2019 Candy
Sep 07, 2019 Trapping Rain Water
Sep 07, 2019 Remove Element
Sep 07, 2019 Gas Station
Sep 07, 2019 Two Sum
Sep 07, 2019 4Sum
Sep 07, 2019 3Sum Closest
Sep 07, 2019 3Sum
Sep 04, 2019 Lowest Common Ancestor with N nodes
Aug 21, 2019 Total Hamming Distance
Aug 21, 2019 Using bit manipulation to achieve operators
Jun 28, 2019 Circular Queue