The practice library
Every problem,
your way.
Pick any problem, whatever quest it is in. Sign in to keep your own list.
- #1 Two Sum Easy New
- #2 Valid Parentheses Easy New
- #3 Reverse Linked List Easy New
- #4 Contains Duplicate Easy New
- #5 Valid Anagram Easy New
- #6 First Unique Character in a String Easy New
- #7 Intersection of Two Arrays II Easy New
- #8 Unique Number of Occurrences Easy New
- #9 Find the Difference of Two Arrays Easy New
- #10 Reverse String Easy Premium
- #11 Valid Palindrome Easy Premium
- #12 Merge Strings Alternately Easy Premium
- #13 Reverse Vowels of a String Easy Premium
- #14 Is Subsequence Easy Premium
- #15 Move Zeroes Easy Premium
- #17 Merge Sorted Array Easy Premium
- #18 Best Time to Buy and Sell Stock Easy New
- #19 Kids With the Greatest Number of Candies Easy Premium
- #20 Can Place Flowers Easy Premium
- #21 Find the Highest Altitude Easy Premium
- #22 Find Pivot Index Easy Premium
- #23 Maximum Average Subarray I Easy Premium
- #24 Plus One Easy Premium
- #25 Fizz Buzz Easy Premium
- #26 Roman to Integer Easy Premium
- #27 Longest Common Prefix Easy Premium
- #28 Find the Index of the First Occurrence in a String Easy Premium
- #29 Greatest Common Divisor of Strings Easy Premium
- #30 Pascal's Triangle Easy Premium
- #31 Power of Three Easy Premium
- #32 Single Number Easy Premium
- #33 Missing Number Easy Premium
- #34 Hamming Distance Easy Premium
- #35 Number of 1 Bits Easy Premium
- #36 Reverse Bits Easy Premium
- #37 Counting Bits Easy Premium
- #38 Number of Recent Calls Easy Premium
- #39 Merge Two Sorted Lists Easy Premium
- #40 Palindrome Linked List Easy Premium
- #42 Maximum Depth of Binary Tree Easy Premium
- #43 Invert Binary Tree Easy Premium
- #44 Same Tree Easy Premium
- #45 Symmetric Tree Easy Premium
- #46 Subtree of Another Tree Easy Premium
- #47 Leaf-Similar Trees Easy Premium
- #48 Search in a Binary Search Tree Easy Premium
- #49 Convert Sorted Array to Binary Search Tree Easy Premium
- #50 Meeting Rooms Easy Premium
- #53 Climbing Stairs Easy Premium
- #54 Min Cost Climbing Stairs Easy Premium
- #55 N-th Tribonacci Number Easy Premium
- #56 Sum of Multiples of 3 or 5 Easy New
- #57 Sum of Even Fibonacci Numbers Easy New
- #58 Square of the Sum Minus the Sum of Squares Easy New
- #59 First Fibonacci Number with n Digits Easy New
- #60 Diagonals of a Number Spiral Easy New
- #61 Largest Prime Factor Easy Premium
- #62 Smallest Number Divisible by 1 to n Easy Premium
- #63 The nth Prime Easy Premium
- #64 Sum of Primes Below n Easy Premium
- #65 First Triangle Number with Many Divisors Medium Premium
- #66 Sum of Amicable Numbers Medium Premium
- #67 Circular Primes Below n Medium Premium
- #68 Largest Product of Adjacent Digits Easy Premium
- #69 Digit Sum of a Power of Two Easy Premium
- #70 Digit Sum of a Factorial Easy Premium
- #71 Numbers Equal to Their Digit Powers Medium Premium
- #72 Palindromes in Two Bases Easy Premium
- #73 Pythagorean Triplet with a Given Sum Easy Premium
- #74 Longest Collatz Chain Medium Premium
- #75 Routes Through a Grid Medium Premium
- #76 Best Path Down a Triangle Medium Premium
- #77 Scoring Sorted Names Easy Premium
- #78 The nth Permutation in Dictionary Order Medium Premium
- #79 Ways to Make an Amount from Coins Medium Premium
- #80 Reverse Words in a String Medium New
- #81 String to Integer (atoi) Medium New
- #82 Reverse Integer Medium New
- #83 Count and Say Medium New
- #85 Determine if Two Strings Are Close Medium New
- #86 Rotate Array Medium Premium
- #87 Increasing Triplet Subsequence Medium Premium
- #88 Best Time to Buy and Sell Stock II Medium Premium
- #89 Count Primes Medium Premium
- #90 Minimum Flips to Make a OR b Equal to c Medium Premium
- #91 Maximum Number of Vowels in a Substring of Given Length Medium Premium
- #92 Max Consecutive Ones III Medium Premium
- #93 Longest Subarray of 1's After Deleting One Element Medium Premium
- #94 Max Number of K-Sum Pairs Medium Premium
- #95 Equal Row and Column Pairs Medium Premium
- #96 Valid Sudoku Medium Premium
- #97 Removing Stars From a String Medium Premium
- #98 Asteroid Collision Medium Premium
- #99 Decode String Medium Premium
- #100 Min Stack Medium Premium
- #101 Daily Temperatures Medium Premium
- #102 Online Stock Span Medium Premium
- #103 Dota2 Senate Medium Premium
- #104 Smallest Number in Infinite Set Medium Premium
- #106 Delete the Middle Node of a Linked List Medium Premium
- #107 Odd Even Linked List Medium Premium
- #108 Maximum Twin Sum of a Linked List Medium Premium
- #110 Count Good Nodes in Binary Tree Medium Premium
- #111 Longest ZigZag Path in a Binary Tree Medium Premium
- #112 Path Sum III Medium Premium
- #113 Binary Tree Right Side View Medium Premium
- #114 Maximum Level Sum of a Binary Tree Medium Premium
- #117 Keys and Rooms Medium Premium
- #118 Number of Provinces Medium Premium
- #119 Reorder Routes to Make All Paths Lead to the City Zero Medium Premium
- #120 Evaluate Division Medium Premium
- #121 Nearest Exit from Entrance in Maze Medium Premium
- #122 Rotting Oranges Medium Premium
- #123 Find Peak Element Medium Premium
- #124 Koko Eating Bananas Medium Premium
- #125 Successful Pairs of Spells and Potions Medium Premium
- #126 Search Suggestions System Medium Premium
- #127 Minimum Number of Arrows to Burst Balloons Medium Premium
- #128 Kth Largest Element in an Array Medium Premium
- #131 Letter Combinations of a Phone Number Medium Premium
- #132 Combination Sum III Medium Premium
- #133 Domino and Tromino Tiling Medium Premium
- #134 Best Time to Buy and Sell Stock with Transaction Fee Medium Premium
- #135 Edit Distance Medium Premium
- #136 Product of Array Except Self Medium New
- #137 Maximum Subarray Medium New
- #138 Maximum Product Subarray Medium New
- #139 Find Minimum in Rotated Sorted Array Medium New
- #140 Search in Rotated Sorted Array Medium New
- #141 3Sum Medium New
- #142 Container With Most Water Medium New
- #143 Sum of Two Integers Medium Premium
- #144 Coin Change Medium Premium
- #145 Longest Increasing Subsequence Medium Premium
- #146 Longest Common Subsequence Medium Premium
- #147 Word Break Medium Premium
- #148 Combination Sum IV Medium Premium
- #149 House Robber Medium Premium
- #150 House Robber II Medium Premium
- #151 Decode Ways Medium Premium
- #152 Unique Paths Medium Premium
- #153 Jump Game Medium Premium
- #155 Course Schedule Medium Premium
- #156 Pacific Atlantic Water Flow Medium Premium
- #157 Number of Islands Medium Premium
- #158 Longest Consecutive Sequence Medium Premium
- #159 Alien Dictionary Hard Premium
- #160 Graph Valid Tree Medium Premium
- #161 Number of Connected Components in an Undirected Graph Medium Premium
- #162 Insert Interval Medium Premium
- #163 Merge Intervals Medium Premium
- #164 Non-overlapping Intervals Medium Premium
- #165 Meeting Rooms II Medium Premium
- #166 Merge k Sorted Lists Hard Premium
- #167 Remove Nth Node From End of List Medium Premium
- #168 Reorder List Medium Premium
- #169 Set Matrix Zeroes Medium Premium
- #170 Spiral Matrix Medium Premium
- #171 Rotate Image Medium Premium
- #172 Word Search Medium Premium
- #173 Longest Substring Without Repeating Characters Medium Premium
- #174 Longest Repeating Character Replacement Medium Premium
- #175 Minimum Window Substring Hard Premium
- #176 Group Anagrams Medium Premium
- #177 Longest Palindromic Substring Medium Premium
- #178 Palindromic Substrings Medium Premium
- #180 Binary Tree Maximum Path Sum Hard Premium
- #181 Binary Tree Level Order Traversal Medium Premium
- #183 Construct Binary Tree from Preorder and Inorder Traversal Medium Premium
- #184 Validate Binary Search Tree Medium Premium
- #185 Kth Smallest Element in a BST Medium Premium
- #186 Lowest Common Ancestor of a Binary Search Tree Medium Premium
- #187 Implement Trie (Prefix Tree) Medium Premium
- #188 Design Add and Search Words Data Structure Medium Premium
- #189 Word Search II Hard Premium
- #190 Top K Frequent Elements Medium Premium
- #191 Find Median from Data Stream Hard Premium