Benjamin's CodePlayground
#
table of contents- #019 Remove Nth Node From End of List
- #021 Merge Two Sorted Lists
- #024 Swap Nodes in Pairs
- #082 Remove Duplicates from Sorted List II
- #083 Remove Duplicates from Sorted List
- #086 Partition List
- #092 Reverse Linked List II
- #138 Copy List with Random Pointer
- #141 Linked List Cycle
- #142 Linked List Cycle II
- #143 Reorder List
- #147 Insertion Sort List
- #148 Sort List
- #160 Intersection of Two Linked Lists
- #203 Remove Linked List Elements
- #206 Reverse Linked List
- #234 Palindrome Linked List
- #237 Delete Node in a Linked List
- #004 Median of Two Sorted Arrays
- #005 Longest Palindromic Substring
- #006 ZigZag Conversion
- #007 Reverse Integer
- #014 Longest Common Prefix
- #026 Remove Duplicates from Sorted Array
- #033 Search in Rotated Sorted Array
- #034 Find First and Last Position of Element in Sorted Array
- #035 Search Insert Position
- #036 Valid Sudoku
- #048 Rotate Image
- #054 Spiral Matrix
- #059 Spiral Matrix II
- #073 Set Matrix Zeroes
- #074 Search a 2D Matrix
- #081 Search in Rotated Sorted Array II
- #088 Merge Sorted Array
- #151 Reverse Words in a String
- #153 Find Minimum in Rotated Sorted Array
- #154 Find Minimum in Rotated Sorted Array II
- #169 Majority Element
- #179 Largest Number
- #187 Repeated DNA Sequence
- #189 Rotate Array
- #209 Minimum Size Subarray Sum
- #217 Contains Duplicate
- #219 Contains Duplicate II
- #220 Contains Duplicate III
- #221 Maximal Square
- #228 Summary Ranges
- #229 Majority Element II
- #238 Product of Array Except Self
- #239 Sliding Window Maximum
- #240 Search a 2D Matrix II
- #242 Valid Anagram
- #094 Binary Tree Inorder Traversal
- #095 Unique Binary Search Trees II
- #096 Unique Binary Search Trees
- #098 Validate Binary Search Tree
- #100 Same Tree
- #101 Symmetric Tree
- #102 Binary Tree Level Order Traversal
- #103 Binary Tree Zigzag Level Order Traversal
- #104 Maximum Depth of Binary Tree
- #105 Construct Binary Tree from Preorder and Inorder Traversal
- #106 Construct Binary Tree from Inorder and Postorder Traversal
- #107 Binary Tree Level Order Traversal II
- #108 Convert Sorted Array to Binary Search Tree
- #109 Convert Sorted List to Binary Search Tree
- #110 Balanced Binary Tree
- #111 Minimum Depth of Binary Tree
- #112 Path Sum
- #113 Path Sum II
- #114 Flatten Binary Tree to Linked List
- #116 Populating Next Right Pointers in Each Node
- #117 Populating Next Right Pointers in Each Node II
- #127 Word Ladder
- #129 Sum Root to Leaf Numbers
- #144 Binary Tree Preorder Traversal
- #145 Binary Tree Postorder Traversal
- #133 Clone Graph
- #162 Find Peak Element
- #173 Binary Search Tree Iterator
- #208 Implement Trie (Prefix Tree)
- #222 Count Complete Tree Nodes
- #226 Invert Binary Tree
- #230 Kth Smallest Element in a BST
- #235 Lowest Common Ancestor of a Binary Search Tree
- #236 Lowest Common Ancestor of a Binary Tree
- #017 Letter Combinations of a Phone Number
- #031 Next Permutation
- #039 Combination Sum
- #040 Combination Sum II
- #046 Permutations
- #047 Permutations II
- #049 Group Anagrams
- #077 Combinations
- #091 Decode Ways
- #093 Restore IP Addresses
- #216 Combination Sum III
- #053 Maximum Subarray
- #121 Best Time to Buy and Sell Stock
- #122 Best Time to Buy and Sell Stock II
- #152 Maximum Product Subarray
- #011 Container With Most Water
- #064 Minimum Path Sum
- #070 Climbing Stairs
- #198 House Robber
- #213 House Robber II
- #002 Add Two Numbers
- #008 String to Integer (atoi)
- #009 Palindrome Number
- #012 Integer to Roman
- #013 Roman to Integer
- #029 Divide Two Integers
- #043 Multiply Strings
- #050 Pow(x, n)
- #066 Plus One
- #067 Add Binary
- #172 Factorial Trailing Zeroes
- #190 Reverse Bits
- #191 Number of 1 Bits
- #202 Happy Number
- #204 Count Primes
- #231 Power of Two
- #233 Number of Digit One
- #175 Combine Two Tables
- #176 Second Highest Salary
- #177 Nth Highest Salary
- #178 Rank Scores
- #180 Consecutive Numbers
- #181 Employees Earning More Than Their Managers
- #182 Duplicate Emails
- #183 Customers Who Never Order
- #184 Department Highest Salary
- #185 Department Top Three Salaries
- #196 Delete Duplicate Emails
- #197 Rising Temperature
- #207 Course Schedule
- #210 Course Schedule II
- #020 Valid Parentheses
- #022 Generate Parentheses
- #224 Basic Calculator
- #225 Implement Stack using Queues
- #227 Basic Calculator II
- #215 Kth Largest Element in an Array
- #241 Different Ways to Add Parentheses
- #155 Min Stack
- #232 Implement Queue using Stacks