β
|
1 |
Two Sum |
Solution.swift |
π Easy |
β
|
2 |
Add Two Numbers |
Solution.swift |
π Medium |
β
|
3 |
Longest Substring Without Repeating Characters |
Solution.swift |
π Medium |
|
4 |
Median of Two Sorted Arrays |
|
β€οΈ Hard |
β
|
5 |
Longest Palindromic Substring |
Solution.swift |
π Medium |
β
|
6 |
ZigZag Conversion |
Solution.swift |
π Medium |
β
|
7 |
Reverse Integer |
Solution.swift |
π Easy |
|
8 |
String to Integer (atoi) |
|
π Medium |
β
|
9 |
Palindrome Number |
Solution.swift |
π Easy |
|
10 |
Regular Expression Matching |
|
β€οΈ Hard |
β
|
11 |
Container With Most Water |
Solution.swift |
π Medium |
β
|
12 |
Integer to Roman |
Solution.swift |
π Medium |
β
|
13 |
Roman to Integer |
Solution.swift |
π Easy |
β
|
14 |
Longest Common Prefix |
Solution.swift |
π Easy |
β
|
15 |
3Sum |
Solution.swift |
π Medium |
β
|
16 |
3Sum Closest |
Solution.swift |
π Medium |
β
|
17 |
Letter Combinations of a Phone Number |
Solution.swift |
π Medium |
|
18 |
4Sum |
|
π Medium |
β
|
19 |
Remove Nth Node From End of List |
Solution.swift |
π Medium |
β
|
20 |
Valid Parentheses |
Solution.swift |
π Easy |
β
|
21 |
Merge Two Sorted Lists |
Solution.swift |
π Easy |
β
|
22 |
Generate Parentheses |
Solution.swift |
π Medium |
β
|
23 |
Merge k Sorted Lists |
Solution.swift |
β€οΈ Hard |
β
|
24 |
Swap Nodes in Pairs |
Solution.swift |
π Medium |
|
25 |
Reverse Nodes in k-Group |
|
β€οΈ Hard |
β
|
26 |
Remove Duplicates from Sorted Array |
Solution.swift |
π Easy |
β
|
27 |
Remove Element |
Solution.swift |
π Easy |
|
28 |
Implement strStr() |
|
π Easy |
|
29 |
Divide Two Integers |
|
π Medium |
|
30 |
Substring with Concatenation of All Words |
|
β€οΈ Hard |
β
|
31 |
Next Permutation |
Solution.swift |
π Medium |
|
32 |
Longest Valid Parentheses |
|
β€οΈ Hard |
β
|
33 |
Search in Rotated Sorted Array |
Solution.swift |
π Medium |
|
34 |
Find First and Last Position of Element in Sorted Array |
|
π Medium |
β
|
35 |
Search Insert Position |
Solution.swift |
π Easy |
|
36 |
Valid Sudoku |
|
π Medium |
β
|
39 |
Combination Sum |
Solution.swift |
π Medium |
β
|
41 |
First Missing Positive |
Solution.swift |
β€οΈ Hard |
β
|
47 |
Permutations II |
Solution.swift |
π Medium |
β
|
50 |
Pow(x, n) |
Solution.swift |
π Medium |
β
|
55 |
Jump Game |
Solution.swift |
π Medium |
β
|
56 |
Merge Intervals |
Solution.swift |
π Medium |
β
|
57 |
Insert Interval |
Solution.swift |
β€οΈ Hard |
β
|
58 |
Length of Last Word |
Solution.swift |
π Easy |
β
|
59 |
Spiral Matrix II |
Solution.swift |
π Medium |
β
|
61 |
Rotate List |
Solution.swift |
π Medium |
β
|
62 |
Unique Paths |
Solution.swift |
π Medium |
β
|
64 |
Minimum Path Sum |
Solution.swift |
π Medium |
β
|
66 |
Plus One |
Solution.swift |
π Easy |
β
|
67 |
Add Binary |
Solution.swift |
π Easy |
β
|
70 |
Climbing Stairs |
Solution.swift |
π Easy |
β
|
71 |
Simplify Path |
Solution.swift |
π Medium |
β
|
74 |
Search a 2D Matrix |
Solution.swift |
π Medium |
β
|
75 |
Sort Colors |
Solution.swift |
π Medium |
β
|
79 |
Word Search |
Solution.swift |
π Medium |
β
|
80 |
Remove Duplicates from Sorted Array II |
Solution.swift |
π Medium |
β
|
81 |
Search in Rotated Sorted Array II |
Solution.swift |
π Medium |
β
|
82 |
Remove Duplicates from Sorted List II |
Solution.swift |
π Medium |
β
|
83 |
Remove Duplicates from Sorted List |
Solution.swift |
π Easy |
β
|
84 |
Largest Rectangle in Histogram |
Solution.swift |
β€οΈ Hard |
β
|
88 |
Merge Sorted Array |
Solution.swift |
π Easy |
β
|
91 |
Decode Ways |
Solution.swift |
π Medium |
β
|
94 |
Binary Tree Inorder Traversal |
Solution.swift |
π Medium |
β
|
98 |
Validate Binary Search Tree |
Solution.swift |
π Medium |
β
|
99 |
Recover Binary Search Tree |
Solution.swift |
β€οΈ Hard |
|
|
|
|
|
β
|
100 |
Same Tree |
Solution.swift |
π Easy |
β
|
101 |
Symmetric Tree |
Solution.swift |
π Easy |
β
|
103 |
Binary Tree Zigzag Level Order Traversal |
Solution.swift |
π Medium |
β
|
104 |
Maximum Depth of Binary Tree |
Solution.swift |
π Easy |
β
|
107 |
Binary Tree Level Order Traversal II |
Solution.swift |
π Easy |
β
|
108 |
Convert Sorted Array to Binary Search Tree |
Solution.swift |
π Easy |
β
|
110 |
Balanced Binary Tree |
Solution.swift |
π Easy |
β
|
111 |
Minimum Depth of Binary Tree |
Solution.swift |
π Easy |
β
|
116 |
Populating Next Right Pointers in Each Node |
Solution.swift |
π Medium |
β
|
117 |
Populating Next Right Pointers in Each Node II |
Solution.swift |
π Medium |
β
|
118 |
Pascal's Triangle |
Solution.swift |
π Easy |
β
|
119 |
Pascal's Triangle II |
Solution.swift |
π Easy |
β
|
121 |
Best Time to Buy and Sell Stock |
Solution.swift |
π Easy |
β
|
122 |
Best Time to Buy and Sell Stock II |
Solution.swift |
π Easy |
β
|
123 |
Best Time to Buy and Sell Stock III |
Solution.swift |
β€οΈ Hard |
β
|
124 |
Binary Tree Maximum Path Sum |
Solution.swift |
β€οΈ Hard |
β
|
125 |
Valid Palindrome |
Solution.swift |
π Easy |
β
|
129 |
Sum Root to Leaf Numbers |
Solution.swift |
π Medium |
β
|
131 |
Palindrome Partitioning |
Solution.swift |
π Medium |
β
|
133 |
Clone Graph |
Solution.swift |
π Medium |
β
|
134 |
Gas Station |
Solution.swift |
π Medium |
β
|
136 |
Single Number |
Solution.swift |
π Easy |
β
|
138 |
Copy List with Random Pointer |
Solution.swift |
π Medium |
β
|
139 |
Word Break |
Solution.swift |
π Medium |
β
|
140 |
Word Break II |
Solution.swift |
β€οΈ Hard |
β
|
141 |
Linked List Cycle |
Solution.swift |
π Easy |
β
|
142 |
Linked List Cycle II |
Solution.swift |
π Medium |
β
|
143 |
Reorder List |
Solution.swift |
π Medium |
β
|
147 |
Insertion Sort List |
Solution.swift |
π Medium |
β
|
148 |
Sort List |
Solution.swift |
π Medium |
β
|
150 |
Evaluate Reverse Polish Notation |
Solution.swift |
π Medium |
β
|
151 |
Reverse Words in a String |
Solution.swift |
π Medium |
β
|
152 |
Maximum Product Subarray |
Solution.swift |
π Medium |
β
|
154 |
Find Minimum in Rotated Sorted Array II |
Solution.swift |
β€οΈ Hard |
β
|
155 |
Min Stack |
Solution.swift |
π Easy |
β
|
156 |
Binary Tree Upside Down π |
Solution.swift |
π Medium |
β
|
157 |
Read N Characters Given Read4 π |
Solution.swift |
π Easy |
β
|
159 |
Longest Substring with At Most Two Distinct Characters π |
Solution.swift |
π Medium |
β
|
160 |
Intersection of Two Linked Lists |
Solution.swift |
π Easy |
β
|
161 |
One Edit Distance π |
Solution.swift |
π Medium |
β
|
163 |
Missing Ranges π |
Solution.swift |
π Easy |
β
|
165 |
Compare Version Numbers |
Solution.swift |
π Medium |
β
|
167 |
Two Sum II - Input array is sorted |
Solution.swift |
π Easy |
β
|
169 |
Majority Element |
Solution.swift |
π Easy |
β
|
170 |
Two Sum III - Data structure design π |
Solution.swift |
π Easy |
β
|
171 |
Excel Sheet Column Number |
Solution.swift |
π Easy |
β
|
173 |
Binary Search Tree Iterator |
Solution.swift |
π Medium |
β
|
174 |
Dungeon Game |
Solution.swift |
β€οΈ Hard |
β
|
179 |
Largest Number |
Solution.swift |
π Medium |
β
|
186 |
Reverse Words in a String II π |
Solution.swift |
π Medium |
β
|
187 |
Repeated DNA Sequences |
Solution.swift |
π Medium |
β
|
188 |
Best Time to Buy and Sell Stock IV |
Solution.swift |
β€οΈ Hard |
β
|
189 |
Rotate Array |
Solution.swift |
π Medium |
β
|
191 |
Number of 1 Bits |
Solution.swift |
π Easy |
β
|
198 |
House Robber |
Solution.swift |
π Easy |
β
|
199 |
Binary Tree Right Side View |
Solution.swift |
π Medium |
|
|
|
|
|
β
|
202 |
Happy Number |
Solution.swift |
π Easy |
β
|
203 |
Remove Linked List Elements |
Solution.swift |
π Easy |
β
|
208 |
Implement Trie (Prefix Tree) |
Solution.swift |
π Medium |
β
|
209 |
Minimum Size Subarray Sum |
Solution.swift |
π Medium |
β
|
210 |
Course Schedule II |
Solution.swift |
π Medium |
β
|
211 |
Add and Search Word - Data structure design |
Solution.swift |
π Medium |
β
|
213 |
House Robber II |
Solution.swift |
π Medium |
β
|
215 |
Kth Largest Element in an Array |
Solution.swift |
π Medium |
β
|
216 |
Combination Sum III |
Solution.swift |
π Medium |
β
|
217 |
Contains Duplicate |
Solution.swift |
π Easy |
β
|
219 |
Contains Duplicate II |
Solution.swift |
π Easy |
β
|
220 |
Contains Duplicate III |
Solution.swift |
π Medium |
β
|
222 |
Count Complete Tree Nodes |
Solution.swift |
π Medium |
β
|
225 |
Implement Stack using Queues |
Solution.swift |
π Easy |
β
|
226 |
Invert Binary Tree |
Solution.swift |
π Easy |
β
|
227 |
Basic Calculator II |
Solution.swift |
π Medium |
β
|
228 |
Summary Ranges |
Solution.swift |
π Easy |
β
|
229 |
Majority Element II |
Solution.swift |
π Medium |
β
|
231 |
Power of Two |
Solution.swift |
π Easy |
β
|
232 |
Implement Queue using Stacks |
Solution.swift |
π Easy |
β
|
237 |
Delete Node in a Linked List |
Solution.swift |
π Easy |
β
|
239 |
Sliding Window Maximum |
Solution.swift |
β€οΈ Hard |
β
|
242 |
Valid Anagram |
Solution.swift |
π Easy |
β
|
243 |
Shortest Word Distance π |
Solution.swift |
π Easy |
β
|
246 |
Strobogrammatic Number π |
Solution.swift |
π Easy |
β
|
252 |
Meeting Rooms π |
Solution.swift |
π Easy |
β
|
253 |
Meeting Rooms II π |
Solution.swift |
π Medium |
β
|
257 |
Binary Tree Paths |
Solution.swift |
π Easy |
β
|
258 |
Add Digits |
Solution.swift |
π Easy |
β
|
260 |
Single Number III |
Solution.swift |
π Medium |
β
|
264 |
Ugly Number II |
Solution.swift |
π Medium |
β
|
266 |
Palindrome Permutation π |
Solution.swift |
π Easy |
β
|
268 |
Missing Number |
Solution.swift |
π Easy |
β
|
270 |
Closest Binary Search Tree Value π |
Solution.swift |
π Easy |
β
|
274 |
H-Index |
Solution.swift |
π Medium |
β
|
276 |
Paint Fence π |
Solution.swift |
π Easy |
β
|
278 |
First Bad Version |
Solution.swift |
π Easy |
β
|
283 |
Move Zeroes |
Solution.swift |
π Easy |
β
|
284 |
Peeking Iterator |
Solution.swift |
π Medium |
β
|
287 |
Find the Duplicate Number |
Solution.swift |
π Medium |
β
|
289 |
Game of Life |
Solution.swift |
π Medium |
β
|
290 |
Word Pattern |
Solution.swift |
π Easy |
β
|
292 |
Nim Game |
Solution.swift |
π Easy |
β
|
293 |
Flip Game π |
Solution.swift |
π Easy |
β
|
299 |
Bulls and Cows |
Solution.swift |
π Easy |
|
|
|
|
|
β
|
309 |
Best Time to Buy and Sell Stock with Cooldown |
Solution.swift |
π Medium |
β
|
310 |
Minimum Height Trees |
Solution.swift |
π Medium |
β
|
312 |
Burst Balloons |
Solution.swift |
β€οΈ Hard |
β
|
316 |
Remove Duplicate Letters |
Solution.swift |
π Medium |
β
|
322 |
Coin Change |
Solution.swift |
π Medium |
β
|
334 |
Increasing Triplet Subsequence |
Solution.swift |
π Medium |
β
|
337 |
House Robber III |
Solution.swift |
π Medium |
β
|
339 |
Nested List Weight Sum π |
Solution.swift |
π Easy |
β
|
340 |
Longest Substring with At Most K Distinct Characters π |
Solution.swift |
π Medium |
β
|
342 |
Power of Four |
Solution.swift |
π Easy |
β
|
344 |
Reverse String |
Solution.swift |
π Easy |
β
|
346 |
Moving Average from Data Stream π |
Solution.swift |
π Easy |
β
|
348 |
Design Tic-Tac-Toe π |
Solution.swift |
π Medium |
β
|
349 |
Intersection of Two Arrays |
Solution.swift |
π Easy |
β
|
350 |
Intersection of Two Arrays II |
Solution.swift |
π Easy |
β
|
359 |
Logger Rate Limiter π |
Solution.swift |
π Easy |
β
|
367 |
Valid Perfect Square |
Solution.swift |
π Easy |
β
|
369 |
Plus One Linked List π |
Solution.swift |
π Medium |
β
|
376 |
Wiggle Subsequence |
Solution.swift |
π Medium |
β
|
380 |
Insert Delete GetRandom O(1) |
Solution.swift |
π Medium |
β
|
382 |
Linked List Random Node |
Solution.swift |
π Medium |
β
|
383 |
Ransom Note |
Solution.swift |
π Easy |
β
|
387 |
First Unique Character in a String |
Solution.swift |
π Easy |
β
|
389 |
Find the Difference |
Solution.swift |
π Easy |
β
|
392 |
Is Subsequence |
Solution.swift |
π Easy |
β
|
394 |
Decode String |
Solution.swift |
π Medium |
β
|
395 |
Longest Substring with At Least K Repeating Characters |
Solution.swift |
π Medium |
β
|
399 |
Evaluate Division |
Solution.swift |
π Medium |
|
|
|
|
|
β
|
404 |
Sum of Left Leaves |
Solution.swift |
π Easy |
β
|
408 |
Valid Word Abbreviation π |
Solution.swift |
π Easy |
β
|
409 |
Longest Palindrome |
Solution.swift |
π Easy |
β
|
412 |
Fizz Buzz |
Solution.swift |
π Easy |
β
|
413 |
Arithmetic Slices |
Solution.swift |
π Medium |
β
|
414 |
Third Maximum Number |
Solution.swift |
π Easy |
β
|
416 |
Partition Equal Subset Sum |
Solution.swift |
π Medium |
β
|
417 |
Pacific Atlantic Water Flow |
Solution.swift |
π Medium |
β
|
421 |
Maximum XOR of Two Numbers in an Array |
Solution.swift |
π Medium |
β
|
422 |
Valid Word Square π |
Solution.swift |
π Easy |
β
|
430 |
Flatten a Multilevel Doubly Linked List |
Solution.swift |
π Medium |
β
|
435 |
Non-overlapping Intervals |
Solution.swift |
π Medium |
β
|
436 |
Find Right Interval |
Solution.swift |
π Medium |
β
|
437 |
Path Sum III |
Solution.swift |
π Medium |
β
|
441 |
Arranging Coins |
Solution.swift |
π Easy |
β
|
442 |
Find All Duplicates in an Array |
Solution.swift |
π Medium |
β
|
445 |
Add Two Numbers II |
Solution.swift |
π Medium |
β
|
449 |
Serialize and Deserialize BST |
Solution.swift |
π Medium |
β
|
450 |
Delete Node in a BST |
Solution.swift |
π Medium |
β
|
452 |
Minimum Number of Arrows to Burst Balloons |
Solution.swift |
π Medium |
β
|
454 |
4Sum II |
Solution.swift |
π Medium |
β
|
456 |
132 Pattern |
Solution.swift |
π Medium |
β
|
458 |
Poor Pigs |
Solution.swift |
β€οΈ Hard |
β
|
459 |
Repeated Substring Pattern |
Solution.swift |
π Easy |
β
|
461 |
Hamming Distance |
Solution.swift |
π Easy |
β
|
463 |
Island Perimeter |
Solution.swift |
π Easy |
β
|
470 |
Implement Rand10() Using Rand7() |
Solution.swift |
π Medium |
β
|
476 |
Number Complement |
Solution.swift |
π Easy |
β
|
478 |
Generate Random Point in a Circle |
Solution.swift |
π Medium |
β
|
484 |
Find Permutation π |
Solution.swift |
π Medium |
β
|
485 |
Max Consecutive Ones |
Solution.swift |
π Easy |
β
|
487 |
Max Consecutive Ones II π |
Solution.swift |
π Medium |
β
|
489 |
Robot Room Cleaner π |
Solution.swift |
β€οΈ Hard |
β
|
490 |
The Maze π |
Solution.swift |
π Medium |
β
|
495 |
Teemo Attacking |
Solution.swift |
π Medium |
β
|
497 |
Random Point in Non-overlapping Rectangles |
Solution.swift |
π Medium |
β
|
498 |
Diagonal Traverse |
Solution.swift |
π Medium |
|
|
|
|
|
β
|
510 |
Inorder Successor in BST II π |
Solution.swift |
π Medium |
β
|
518 |
Coin Change 2 |
Solution.swift |
π Medium |
β
|
520 |
Detect Capital |
Solution.swift |
π Easy |
β
|
526 |
Beautiful Arrangement |
Solution.swift |
π Medium |
β
|
532 |
K-diff Pairs in an Array |
Solution.swift |
π Medium |
β
|
535 |
Encode and Decode TinyURL |
Solution.swift |
π Medium |
β
|
538 |
Convert BST to Greater Tree |
Solution.swift |
π Medium |
β
|
551 |
Student Attendance Record I |
Solution.swift |
π Easy |
β
|
556 |
Next Greater Element III |
Solution.swift |
π Medium |
β
|
563 |
Binary Tree Tilt |
Solution.swift |
π Easy |
β
|
573 |
Squirrel Simulation |
Solution.swift |
π Medium |
β
|
582 |
Kill Process π |
Solution.swift |
π Medium |
β
|
593 |
Valid Square |
Solution.swift |
π Medium |
β
|
594 |
Longest Harmonious Subsequence |
Solution.swift |
π Easy |
|
|
|
|
|
β
|
604 |
Design Compressed String Iterator π |
Solution.swift |
π Easy |
β
|
605 |
Can Place Flowers |
Solution.swift |
π Easy |
β
|
616 |
Add Bold Tag in String π |
Solution.swift |
π Medium |
β
|
621 |
Task Scheduler |
Solution.swift |
π Medium |
β
|
623 |
Add One Row to Tree |
Solution.swift |
π Medium |
β
|
624 |
Maximum Distance in Arrays π |
Solution.swift |
π Easy |
β
|
637 |
Average of Levels in Binary Tree |
Solution.swift |
π Easy |
β
|
662 |
Maximum Width of Binary Tree |
Solution.swift |
π Medium |
β
|
669 |
Trim a Binary Search Tree |
Solution.swift |
π Medium |
β
|
673 |
Number of Longest Increasing Subsequence |
Solution.swift |
π Medium |
β
|
678 |
Valid Parenthesis String |
Solution.swift |
π Medium |
β
|
694 |
Number of Distinct Islands π |
Solution.swift |
π Medium |
|
|
|
|
|
β
|
700 |
Search in a Binary Search Tree |
Solution.swift |
π Easy |
β
|
701 |
Insert into a Binary Search Tree |
Solution.swift |
π Medium |
β
|
702 |
Search in a Sorted Array of Unknown Size π |
Solution.swift |
π Medium |
β
|
704 |
Binary Search |
Solution.swift |
π Easy |
β
|
708 |
Insert into a Sorted Circular Linked List π |
Solution.swift |
π Medium |
β
|
713 |
Subarray Product Less Than K |
Solution.swift |
π Medium |
β
|
714 |
Best Time to Buy and Sell Stock with Transaction Fee |
Solution.swift |
π Medium |
β
|
716 |
Max Stack π |
Solution.swift |
π Easy |
β
|
733 |
Flood Fill |
Solution.swift |
π Easy |
β
|
734 |
Sentence Similarity π |
Solution.swift |
π Easy |
β
|
735 |
Asteroid Collision |
Solution.swift |
π Medium |
β
|
744 |
Find Smallest Letter Greater Than Target |
Solution.swift |
π Easy |
β
|
750 |
Number Of Corner Rectangles π |
Solution.swift |
π Medium |
β
|
754 |
Reach a Number |
Solution.swift |
π Medium |
β
|
758 |
Bold Words in String π |
Solution.swift |
π Easy |
β
|
760 |
Find Anagram Mappings π |
Solution.swift |
π Easy |
β
|
763 |
Partition Labels |
Solution.swift |
π Medium |
β
|
771 |
Jewels and Stones |
Solution.swift |
π Easy |
β
|
784 |
Letter Case Permutation |
Solution.swift |
π Medium |
β
|
785 |
Is Graph Bipartite? |
Solution.swift |
π Medium |
β
|
797 |
All Paths From Source to Target |
Solution.swift |
π Medium |
β
|
799 |
Champagne Tower |
Solution.swift |
π Medium |
|
|
|
|
|
β
|
800 |
Similar RGB Color π |
Solution.swift |
π Easy |
β
|
804 |
Unique Morse Code Words |
Solution.swift |
π Easy |
β
|
821 |
Shortest Distance to a Character |
Solution.swift |
π Easy |
β
|
824 |
Goat Latin |
Solution.swift |
π Easy |
β
|
832 |
Flipping an Image |
Solution.swift |
π Easy |
β
|
845 |
Longest Mountain in Array |
Solution.swift |
π Medium |
β
|
849 |
Maximize Distance to Closest Person |
Solution.swift |
π Medium |
β
|
858 |
Mirror Reflection |
Solution.swift |
π Medium |
β
|
859 |
Buddy Strings |
Solution.swift |
π Easy |
β
|
865 |
Smallest Subtree with all the Deepest Nodes |
Solution.swift |
π Medium |
β
|
869 |
Reordered Power of 2 |
Solution.swift |
π Medium |
β
|
870 |
Advantage Shuffle |
Solution.swift |
π Medium |
β
|
876 |
Middle of the Linked List |
Solution.swift |
π Easy |
β
|
880 |
Decoded String at Index |
Solution.swift |
π Medium |
β
|
881 |
Boats to Save People |
Solution.swift |
π Medium |
β
|
897 |
Increasing Order Search Tree |
Solution.swift |
π Easy |
|
|
|
|
|
β
|
901 |
Online Stock Span |
Solution.swift |
π Medium |
β
|
902 |
Numbers At Most N Given Digit Set |
Solution.swift |
β€οΈ Hard |
β
|
905 |
Sort Array By Parity |
Solution.swift |
π Easy |
β
|
910 |
Smallest Range II |
Solution.swift |
π Medium |
β
|
933 |
Number of Recent Calls |
Solution.swift |
π Easy |
β
|
938 |
Range Sum of BST |
Solution.swift |
π Easy |
β
|
941 |
Valid Mountain Array |
Solution.swift |
π Easy |
β
|
948 |
Bag of Tokens |
Solution.swift |
π Medium |
β
|
949 |
Largest Time for Given Digits |
Solution.swift |
π Easy |
β
|
952 |
Largest Component Size by Common Factor |
Solution.swift |
β€οΈ Hard |
β
|
957 |
Prison Cells After N Days |
Solution.swift |
π Medium |
β
|
966 |
Vowel Spellchecker |
Solution.swift |
π Medium |
β
|
967 |
Numbers With Same Consecutive Differences |
Solution.swift |
π Medium |
β
|
969 |
Pancake Sorting |
Solution.swift |
π Medium |
β
|
977 |
Squares of a Sorted Array |
Solution.swift |
π Easy |
β
|
980 |
Unique Paths III |
Solution.swift |
β€οΈ Hard |
β
|
983 |
Minimum Cost For Tickets |
Solution.swift |
π Medium |
β
|
987 |
Vertical Order Traversal of a Binary Tree |
Solution.swift |
π Medium |
β
|
994 |
Rotting Oranges |
Solution.swift |
π Medium |
β
|
997 |
Find the Town Judge |
Solution.swift |
π Easy |
|
|
|
|
|
β
|
1007 |
Minimum Domino Rotations For Equal Row |
Solution.swift |
π Medium |
β
|
1009 |
Complement of Base 10 Integer |
Solution.swift |
π Easy |
β
|
1010 |
Pairs of Songs With Total Durations Divisible by 60 |
Solution.swift |
π Medium |
β
|
1015 |
Smallest Integer Divisible by K |
Solution.swift |
π Medium |
β
|
1022 |
Sum of Root To Leaf Binary Numbers |
Solution.swift |
π Easy |
β
|
1026 |
Maximum Difference Between Node and Ancestor |
Solution.swift |
π Medium |
β
|
1032 |
Stream of Characters |
Solution.swift |
β€οΈ Hard |
β
|
1035 |
Uncrossed Lines |
Solution.swift |
π Medium |
β
|
1038 |
Binary Search Tree to Greater Sum Tree |
Solution.swift |
π Medium |
β
|
1041 |
Robot Bounded In Circle |
Solution.swift |
π Medium |
β
|
1056 |
Confusing Number π |
Solution.swift |
π Easy |
β
|
1064 |
Fixed Point π |
Solution.swift |
π Easy |
β
|
1065 |
Index Pairs of a String π |
Solution.swift |
π Easy |
β
|
1081 |
Smallest Subsequence of Distinct Characters |
Solution.swift |
π Medium |
β
|
1091 |
Shortest Path in Binary Matrix |
Solution.swift |
π Medium |
β
|
1094 |
Car Pooling |
Solution.swift |
π Medium |
β
|
1099 |
Two Sum Less Than K π |
Solution.swift |
π Easy |
|
|
|
|
|
β
|
1103 |
Distribute Candies to People |
Solution.swift |
π Easy |
β
|
1123 |
Lowest Common Ancestor of Deepest Leaves |
Solution.swift |
π Medium |
β
|
1165 |
Single-Row Keyboard π |
Solution.swift |
π Easy |
|
|
|
|
|
β
|
1213 |
Intersection of Three Sorted Arrays |
Solution.swift |
π Easy |
β
|
1217 |
Minimum Cost to Move Chips to The Same Position |
Solution.swift |
π Easy |
β
|
1249 |
Minimum Remove to Make Valid Parentheses |
Solution.swift |
π Medium |
β
|
1272 |
Remove Interval π |
Solution.swift |
π Medium |
β
|
1283 |
Find the Smallest Divisor Given a Threshold |
Solution.swift |
π Medium |
β
|
1286 |
Iterator for Combination |
Solution.swift |
π Medium |
β
|
1288 |
Remove Covered Intervals |
Solution.swift |
π Medium |
β
|
1290 |
Convert Binary Number in a Linked List to Integer |
Solution.swift |
π Easy |
β
|
1291 |
Sequential Digits |
Solution.swift |
π Medium |
β
|
1295 |
Find Numbers with Even Number of Digits |
Solution.swift |
π Easy |
|
|
|
|
|
β
|
1306 |
Jump Game III |
Solution.swift |
π Medium |
β
|
1329 |
Sort the Matrix Diagonally |
Solution.swift |
π Medium |
β
|
1332 |
Remove Palindromic Subsequences |
Solution.swift |
π Easy |
β
|
1337 |
The K Weakest Rows in a Matrix |
Solution.swift |
π Easy |
β
|
1342 |
Number of Steps to Reduce a Number to Zero |
Solution.swift |
π Easy |
β
|
1344 |
Angle Between Hands of a Clock |
Solution.swift |
π Medium |
β
|
1345 |
Jump Game IV |
Solution.swift |
β€οΈ Hard |
β
|
1365 |
How Many Numbers Are Smaller Than the Current Number |
Solution.swift |
π Easy |
β
|
1396 |
Design Underground System |
Solution.swift |
π Medium |
|
|
|
|
|
β
|
1426 |
Counting Elements π |
Solution.swift |
π Easy |
β
|
1437 |
Check If All 1's Are at Least Length K Places Away |
Solution.swift |
π Easy |
β
|
1446 |
Consecutive Characters |
Solution.swift |
π Easy |
β
|
1457 |
Pseudo-Palindromic Paths in a Binary Tree |
Solution.swift |
π Medium |
β
|
1463 |
Cherry Pickup II |
Solution.swift |
β€οΈ Hard |
β
|
1492 |
The kth Factor of n |
Solution.swift |
π Medium |
|
|
|
|
|
β
|
1506 |
Find Root of N-Ary Tree π |
Solution.swift |
π Medium |
β
|
1510 |
Stone Game IV |
Solution.swift |
β€οΈ Hard |
β
|
1539 |
Kth Missing Positive Number |
Solution.swift |
π Easy |
|
|
|
|
|
β
|
1602 |
Find Nearest Right Node in Binary Tree |
Solution.swift |
π Medium |
β
|
1631 |
Path With Minimum Effort |
Solution.swift |
π Medium |
β
|
1640 |
Check Array Formation Through Concatenation |
Solution.swift |
π Easy |
β
|
1641 |
Count Sorted Vowel Strings |
Solution.swift |
π Medium |
β
|
1646 |
Get Maximum in Generated Array |
Solution.swift |
π Easy |
β
|
1657 |
Determine if Two Strings Are Close |
Solution.swift |
π Medium |
β
|
1658 |
Minimum Operations to Reduce X to Zero |
Solution.swift |
π Medium |
β
|
1662 |
Check If Two String Arrays are Equivalent |
Solution.swift |
π Easy |
β
|
1663 |
Smallest String With A Given Numeric Value |
Solution.swift |
π Medium |
β
|
1673 |
Find the Most Competitive Subsequence |
Solution.swift |
π Medium |
β
|
1679 |
Max Number of K-Sum Pairs |
Solution.swift |
π Medium |
β
|
1680 |
Concatenation of Consecutive Binary Numbers |
Solution.swift |
π Medium |
|
|
|
|
|
β
|
1721 |
Swapping Nodes in a Linked List |
Solution.swift |
π Medium |