/leet-code

LeetCode problems and solutions

Primary LanguageC#MIT LicenseMIT

LeetCode Solutions

LeetCode problems and solutions.

My profile on LeetCode: https://leetcode.com/u/SuxrobGM

# Title Solution Difficulty
1 Two Sum C# Easy
2 Add Two Numbers C# Medium
3 Longest Substring Without Repeating Characters C# Medium
4 Median of Two Sorted Arrays C# Hard
4 Median of Two Sorted Arrays Java Hard
5 Longest Palindromic Substring C# Medium
6 Zigzag Conversion C# Medium
7 Reverse Integer C# Medium
8 String to Integer (atoi) C# Medium
9 Palindrome Number C# Easy
10 Regular Expression Matching C# Hard
11 Container With Most Water C# Medium
12 Integer to Roman C# Medium
13 Roman to Integer C# Easy
14 Longest Common Prefix C# Easy
15 3Sum C# Medium
16 3Sum Closest C# Medium
17 Letter Combinations of a Phone Number C# Medium
18 4Sum C# Medium
19 Remove Nth Node From End of List C# Medium
20 Valid Parentheses C# Easy
21 Merge Two Sorted Lists C# Easy
22 Generate Parentheses C# Medium
23 Merge k Sorted Lists C# Hard
24 Swap Nodes in Pairs C# Medium
25 Reverse Nodes in k-Group C# Hard
26 Remove Duplicates from Sorted Array C# Easy
27 Remove Element C# Easy
28 Find the Index of the First Occurrence in a String C# Easy
29 Divide Two Integers C# Medium
30 Substring with Concatenation of All Words C# Hard
31 Next Permutation C# Medium
32 Longest Valid Parentheses C# Hard
33 Search in Rotated Sorted Array C# Medium
34 Find First and Last Position of Element in Sorted Array C# Medium
35 Search Insert Position C# Easy
36 Valid Sudoku C# Medium
37 Sudoku Solver C# Hard
38 Count and Say C# Easy
39 Combination Sum C# Medium
40 Combination Sum II C# Medium
41 First Missing Positive C# Hard
42 Trapping Rain Water C# Hard
43 Multiply Strings C# Medium
44 Wildcard Matching C# Hard
45 Jump Game II C# Medium
46 Permutations C# Medium
47 Permutations II C# Medium
48 Rotate Image C# Medium
49 Group Anagrams C# Medium
50 Pow(x, n) C# Medium
51 N-Queens C# Hard
52 N-Queens II C# Hard
53 Maximum Subarray C# Easy
54 Spiral Matrix C# Medium
55 Jump Game C# Medium
56 Merge Intervals C# Medium
57 Insert Interval C# Medium
58 Length of Last Word C# Easy
59 Spiral Matrix II C# Medium
60 Permutation Sequence C# Hard
61 Rotate List C# Medium
62 Unique Paths C# Medium
63 Unique Paths II C# Medium
64 Minimum Path Sum C# Medium
65 Valid Number C# Hard
66 Plus One C# Easy
67 Add Binary C# Easy
68 Text Justification C# Hard
69 Sqrt(x) C# Easy
70 Climbing Stairs Java Easy
71 Simplify Path C# Medium
72 Edit Distance C# Medium
73 Set Matrix Zeroes C# Medium
74 Search a 2D Matrix C# Medium
75 Sort Colors C# Medium
76 Minimum Window Substring C# Hard
77 Combinations C# Medium
78 Subsets C# Medium
79 Word Search C# Medium
80 Remove Duplicates from Sorted Array II C# Medium
81 Search in Rotated Sorted Array II C# Medium
82 Remove Duplicates from Sorted List II C# Medium
83 Remove Duplicates from Sorted List Java Easy
84 Largest Rectangle in Histogram C# Hard
85 Maximal Rectangle C# Hard
86 Partition List C# Medium
87 Scramble String C# Hard
88 Merge Sorted Array Java Easy
88 Merge Sorted Array C# Easy
89 Gray Code C# Medium
90 Subsets II C# Medium
91 Decode Ways C# Medium
92 Reverse Linked List II C# Medium
93 Restore IP Addresses C# Medium
94 Binary Tree Inorder Traversal Java Easy
95 Unique Binary Search Trees II C# Medium
96 Unique Binary Search Trees C# Medium
97 Interleaving String C# Medium
98 Validate Binary Search Tree C# Medium
99 Recover Binary Search Tree C# Medium
100 Same Tree Java Easy
101 Symmetric Tree Java Easy
102 Binary Tree Level Order Traversal C# Medium
103 Binary Tree Zigzag Level Order Traversal C# Medium
104 Maximum Depth of Binary Tree Java Easy
105 Construct Binary Tree from Preorder and Inorder Traversal C# Medium
106 Construct Binary Tree from Inorder and Postorder Traversal C# Medium
107 Binary Tree Level Order Traversal II C# Medium
108 Convert Sorted Array to Binary Search Tree Java Easy
109 Convert Sorted List to Binary Search Tree C# Medium
110 Balanced Binary Tree C# Easy
111 Minimum Depth of Binary Tree C# Easy
112 Path Sum C# Easy
113 Path Sum II C# Medium
114 Flatten Binary Tree to Linked List C# Medium
115 Distinct Subsequences C# Hard
116 Populating Next Right Pointers in Each Node C# Medium
117 Populating Next Right Pointers in Each Node II C# Medium
118 Pascal's Triangle C# Easy
119 Pascal's Triangle II C# Easy
120 Triangle C# Medium
121 Best Time to Buy and Sell Stock C# Easy
122 Best Time to Buy and Sell Stock II C# Medium
123 Best Time to Buy and Sell Stock III C# Hard
125 Valid Palindrome C# Easy
127 Word Ladder C# Hard
128 Longest Consecutive Sequence C# Medium
129 Sum Root to Leaf Numbers C# Medium
130 Surrounded Regions C# Medium
131 Palindrome Partitioning C# Medium
132 Palindrome Partitioning II C# Hard
133 Clone Graph C# Medium
134 Gas Station C# Medium
135 Candy C# Hard
136 Single Number C# Easy
137 Single Number II C# Medium
138 Copy List with Random Pointer C# Medium
139 Word Break C# Medium
140 Word Break II C# Hard
141 Linked List Cycle C# Easy
142 Linked List Cycle II C# Medium
143 Reorder List C# Medium
144 Binary Tree Preorder Traversal C# Easy
145 Binary Tree Postorder Traversal C# Easy
146 LRU Cache C# Medium
147 Insertion Sort List C# Medium
148 Sort List C# Medium
149 Max Points on a Line C# Hard
150 Evaluate Reverse Polish Notation C# Medium
151 Reverse Words in a String C# Medium
152 Maximum Product Subarray C# Medium
153 Find Minimum in Rotated Sorted Array C# Medium
154 Find Minimum in Rotated Sorted Array II C# Hard
155 Min Stack C# Medium
160 Intersection of Two Linked Lists C# Easy
162 Find Peak Element C# Medium
164 Maximum Gap C# Medium
165 Compare Version Numbers C# Medium
166 Fraction to Recurring Decimal C# Medium
167 Two Sum II - Input Array Is Sorted C# Medium
168 Excel Sheet Column Title C# Easy
169 Majority Element C# Easy
171 Excel Sheet Column Number C# Easy
172 Factorial Trailing Zeroes C# Medium
173 Binary Search Tree Iterator C# Medium
174 Dungeon Game C# Hard
175 Combine Two Tables SQL Easy
176 Second Highest Salary SQL Medium
177 Nth Highest Salary SQL Medium
178 Rank Scores SQL Medium
179 Largest Number C# Medium
181 Employees Earning More Than Their Managers SQL Easy
187 Repeated DNA Sequences C# Medium
188 Best Time to Buy and Sell Stock IV C# Hard
189 Rotate Array C# Medium
190 Reverse Bits C# Easy
191 Number of 1 Bits C# Easy
192 Word Frequency Shell Medium
193 Valid Phone Numbers Shell Easy
194 Transpose File Shell Medium
195 Tenth Line Shell Easy
196 Delete Duplicate Emails SQL Easy
197 Rising Temperature SQL Easy
198 House Robber C# Medium
199 Binary Tree Right Side View C# Medium
200 Number of Islands C# Medium
201 Bitwise AND of Numbers Range C# Medium
202 Happy Number C# Easy
203 Remove Linked List Elements C# Easy
204 Count Primes C# Easy
205 Isomorphic Strings C# Easy
206 Reverse Linked List C# Easy
207 Course Schedule C# Medium
208 Implement Trie (Prefix Tree) C# Medium
209 Minimum Size Subarray Sum C# Medium
210 Course Schedule II C# Medium
211 Design Add and Search Words Data Structure C# Medium
212 Word Search II C# Hard
213 House Robber II C# Medium
214 Shortest Palindrome C# Hard
215 Kth Largest Element in an Array C# Medium
216 Combination Sum III C# Medium
217 Contains Duplicate C# Easy
218 The Skyline Problem C# Hard
219 Contains Duplicate II C# Medium
220 Contains Duplicate III C# Hard
221 Maximal Square C# Medium
222 Count Complete Tree Nodes C# Medium
223 Rectangle Area C# Medium
224 Basic Calculator C# Hard
225 Implement Stack using Queues C# Easy
226 Invert Binary Tree C# Easy
227 Basic Calculator II C# Medium
228 Summary Ranges C# Easy
229 Majority Element II C# Medium
230 Kth Smallest Element in a BST C# Medium
231 Power of Two C# Easy
232 Implement Queue using Stacks C# Easy
233 Number of Digit One C# Hard
234 Palindrome Linked List C# Easy
235 Lowest Common Ancestor of a Binary Search Tree C# Easy
236 Lowest Common Ancestor of a Binary Tree C# Medium
237 Delete Node in a Linked List C# Easy
238 Product of Array Except Self C# Medium
239 Sliding Window Maximum C# Hard
240 Search a 2D Matrix II C# Medium
241 Different Ways to Add Parentheses C# Medium
242 Valid Anagram C# Easy
257 Binary Tree Paths C# Easy
258 Add Digits C# Easy
260 Single Number III C# Medium
263 Ugly Number C# Easy
264 Ugly Number II C# Medium
268 Missing Number C# Easy
273 Integer to English Words C# Hard
274 H-Index C# Medium
275 H-Index II C# Medium
278 First Bad Version C# Easy
279 Perfect Squares C# Medium
282 Expression Add Operators C# Hard
283 Move Zeroes C# Easy
284 Peeking Iterator C# Medium
287 Find the Duplicate Number C# Medium
289 Game of Life C# Medium
290 Word Pattern C# Easy
292 Nim Game C# Easy
295 Find Median from Data Stream C# Hard
297 Serialize and Deserialize Binary Tree C# Hard
299 Bulls and Cows C# Medium
300 Longest Increasing Subsequence C# Medium
301 Remove Invalid Parentheses C# Hard
303 Range Sum Query - Immutable C# Easy
304 Range Sum Query 2D - Immutable C# Medium
306 Additive Number C# Medium
307 Range Sum Query - Mutable C# Medium
308 Range Sum Query 2D - Mutable C# Hard
309 Best Time to Buy and Sell Stock with Cooldown C# Medium
310 Minimum Height Trees C# Medium
312 Burst Balloons C# Hard
315 Count of Smaller Numbers After Self C# Hard
316 Remove Duplicate Letters C# Medium
318 Maximum Product of Word Lengths C# Medium
319 Bulb Switcher C# Medium
321 Create Maximum Number C# Hard
322 Coin Change C# Medium
324 Wiggle Sort II C# Medium
327 Count of Range Sum C# Hard
328 Odd Even Linked List C# Medium
329 Longest Increasing Path in a Matrix C# Hard
330 Patching Array C# Hard
331 Verify Preorder Serialization of a Binary Tree C# Medium
332 Reconstruct Itinerary C# Medium
334 Increasing Triplet Subsequence C# Medium
335 Self Crossing C# Hard
337 House Robber III C# Medium
338 Counting Bits C# Medium
341 Flatten Nested List Iterator C# Medium
342 Power of Four C# Easy
343 Integer Break C# Medium
344 Reverse String C# Easy
345 Reverse Vowels of a String C# Easy
347 Top K Frequent Elements C# Medium
349 Intersection of Two Arrays C# Easy
350 Intersection of Two Arrays II C# Easy
352 Data Stream as Disjoint Intervals C# Hard
355 Design Twitter C# Medium
357 Count Numbers with Unique Digits C# Medium
365 Water and Jug Problem C# Medium
367 Valid Perfect Square C# Easy
368 Largest Divisible Subset C# Medium
371 Sum of Two Integers C# Easy
372 Super Pow C# Medium
373 Find K Pairs with Smallest Sums C# Medium
374 Guess Number Higher or Lower C# Easy
375 Guess Number Higher or Lower II C# Medium
376 Wiggle Subsequence C# Medium
377 Combination Sum IV C# Medium
378 Kth Smallest Element in a Sorted Matrix C# Medium
380 Insert Delete GetRandom O(1) C# Medium
381 Insert Delete GetRandom O(1) - Duplicates allowed C# Hard
382 Linked List Random Node C# Medium
383 Ransom Note C# Easy
384 Shuffle an Array C# Medium
385 Mini Parser C# Medium
386 Lexicographical Numbers C# Medium
387 First Unique Character in a String C# Easy
388 Longest Absolute File Path C# Medium
389 Find the Difference C# Easy
390 Elimination Game C# Medium
391 Perfect Rectangle C# Hard
392 Is Subsequence C# Easy
393 UTF-8 Validation C# Medium
394 Decode String C# Medium
395 Longest Substring with At Least K Repeating Characters C# Medium
396 Rotate Function C# Medium
397 Integer Replacement C# Medium
398 Random Pick Index C# Medium
399 Evaluate Division C# Medium
400 Nth Digit C# Easy
401 Binary Watch C# Easy
402 Remove K Digits C# Medium
403 Frog Jump C# Hard
404 Sum of Left Leaves C# Easy
405 Convert a Number to Hexadecimal C# Easy
406 Queue Reconstruction by Height C# Medium
407 Trapping Rain Water II C# Hard
409 Longest Palindrome C# Easy
410 Split Array Largest Sum C# Hard
412 Fizz Buzz C# Easy
413 Arithmetic Slices C# Medium
414 Third Maximum Number C# Easy
415 Add Strings C# Easy
416 Partition Equal Subset Sum C# Medium
417 Pacific Atlantic Water Flow C# Medium
419 Battleships in a Board C# Medium
420 Strong Password Checker C# Hard
421 Maximum XOR of Two Numbers in an Array C# Medium
423 Reconstruct Original Digits from English C# Medium
424 Longest Repeating Character Replacement C# Medium
427 Construct Quad Tree C# Medium
429 N-ary Tree Level Order Traversal C# Medium
430 Flatten a Multilevel Doubly Linked List C# Medium
432 All O`one Data Structure C# Hard
433 Minimum Genetic Mutation C# Medium
434 Number of Segments in a String C# Easy
435 Non-overlapping Intervals C# Medium
436 Find Right Interval C# Medium
437 Path Sum III C# Easy
438 Find All Anagrams in a String C# Medium
440 K-th Smallest in Lexicographical Order C# Hard
441 Arranging Coins C# Easy
442 Find All Duplicates in an Array C# Medium
443 String Compression C# Easy
445 Add Two Numbers II C# Medium
446 Arithmetic Slices II - Subsequence C# Hard
447 Number of Boomerangs C# Easy
448 Find All Numbers Disappeared in an Array C# Easy
449 Serialize and Deserialize BST C# Medium
450 Delete Node in a BST C# Medium
451 Sort Characters By Frequency C# Medium
452 Minimum Number of Arrows to Burst Balloons C# Medium
453 Minimum Moves to Equal Array Elements C# Medium
454 4Sum II C# Medium
455 Assign Cookies C# Easy
456 132 Pattern C# Medium
458 Poor Pigs C# Hard
459 Repeated Substring Pattern C# Easy
460 LFU Cache C# Hard
461 Hamming Distance C# Easy
462 Minimum Moves to Equal Array Elements II C# Medium
463 Island Perimeter C# Easy
464 Can I Win C# Medium
466 Count The Repetitions C# Hard
467 Unique Substrings in Wraparound String C# Medium
468 Validate IP Address C# Medium
470 Implement Rand10() Using Rand7() C# Medium
472 Concatenated Words C# Hard
473 Matchsticks to Square C# Medium
474 Ones and Zeroes C# Medium
475 Heaters C# Medium
476 Number Complement C# Easy
477 Total Hamming Distance C# Medium
478 Generate Random Point in a Circle C# Medium
481 Magical String C# Medium
482 License Key Formatting C# Easy
483 Smallest Good Base C# Hard
485 Max Consecutive Ones C# Easy
486 Predict the Winner C# Medium
491 Increasing Subsequences C# Medium
492 Construct the Rectangle C# Easy
493 Reverse Pairs C# Hard
494 Target Sum C# Medium
495 Teemo Attacking C# Medium
496 Next Greater Element I C# Easy
497 Random Point in Non-overlapping Rectangles C# Medium
498 Diagonal Traverse C# Medium
500 Keyboard Row C# Easy
501 Find Mode in Binary Search Tree C# Easy
502 IPO C# Hard
503 Next Greater Element II C# Medium
504 Base 7 C# Easy
506 Relative Ranks C# Easy
507 Perfect Number C# Easy
508 Most Frequent Subtree Sum C# Medium
509 Fibonacci Number C# Easy
511 Game Play Analysis I SQL Easy
513 Find Bottom Left Tree Value C# Medium
514 Freedom Trail C# Hard
515 Find Largest Value in Each Tree Row C# Medium
516 Longest Palindromic Subsequence C# Medium
517 Super Washing Machines C# Hard
518 Coin Change 2 C# Medium
519 Random Flip Matrix C# Medium
520 Detect Capital C# Easy
521 Longest Uncommon Subsequence I C# Easy
522 Longest Uncommon Subsequence II C# Medium
523 Continuous Subarray Sum C# Medium
524 Longest Word in Dictionary through Deleting C# Medium
525 Contiguous Array C# Medium
526 Beautiful Arrangement C# Medium
528 Random Pick with Weight C# Medium
529 Minesweeper C# Medium
530 Minimum Absolute Difference in BST C# Easy
532 K-diff Pairs in an Array C# Medium
535 Encode and Decode TinyURL C# Medium
537 Complex Number Multiplication C# Medium
538 Convert BST to Greater Tree C# Easy
539 Minimum Time Difference C# Medium
540 Single Element in a Sorted Array C# Medium
541 Reverse String II C# Easy
542 01 Matrix C# Medium
543 Diameter of Binary Tree C# Easy
546 Remove Boxes C# Hard
547 Number of Provinces C# Medium
550 Game Play Analysis IV SQL Easy
551 Student Attendance Record I C# Easy
552 Student Attendance Record II C# Hard
553 Optimal Division C# Medium
554 Brick Wall C# Medium
556 Next Greater Element III C# Medium
557 Reverse Words in a String III C# Easy
558 Logical OR of Two Binary Grids Represented as Quad-Trees C# Medium
559 Maximum Depth of N-ary Tree C# Easy
560 Subarray Sum Equals K C# Medium
561 Array Partition I C# Easy
563 Binary Tree Tilt C# Easy
565 Array Nesting C# Medium
566 Reshape the Matrix C# Easy
567 Permutation in String C# Medium
570 Managers with at Least 5 Direct Reports SQL Medium
572 Subtree of Another Tree C# Easy
575 Distribute Candies C# Easy
576 Out of Boundary Paths C# Medium
577 Employee Bonus SQL Easy
581 Shortest Unsorted Continuous Subarray C# Medium
583 Delete Operation for Two Strings C# Medium
584 Find Customer Referee SQL Easy
585 Investments in 2016 SQL Medium
586 Customer Placing the Largest Number of Orders SQL Easy
587 Erect the Fence C# Hard
589 N-ary Tree Preorder Traversal C# Easy
590 N-ary Tree Postorder Traversal C# Easy
591 Tag Validator C# Hard
592 Fraction Addition and Subtraction C# Medium
593 Valid Square C# Medium
594 Longest Harmonious Subsequence C# Easy
595 Big Countries SQL Easy
596 Classes More Than 5 Students SQL Easy
598 Range Addition II C# Easy
599 Minimum Index Sum of Two Lists C# Easy
600 Non-negative Integers without Consecutive Ones C# Hard
601 Human Traffic of Stadium SQL Hard
602 Friend Requests I: Overall Acceptance Rate SQL Medium
605 Can Place Flowers C# Easy
606 Construct String from Binary Tree C# Easy
607 Sales Person SQL Easy
608 Tree Node SQL Easy
609 Find Duplicate File in System C# Medium
610 Triangle Judgement SQL Easy
611 Valid Triangle Number C# Medium
617 Merge Two Binary Trees C# Easy
619 Biggest Single Number SQL Easy
620 Not Boring Movies SQL Easy
621 Task Scheduler C# Medium
622 Design Circular Queue C# Medium
623 Add One Row to Tree C# Medium
624 Maximum Distance in Arrays C# Medium
626 Exchange Seats SQL Medium
627 Swap Salary SQL Easy
628 Maximum Product of Three Numbers C# Easy
629 K Inverse Pairs Array C# Hard
630 Course Schedule III C# Hard
633 Sum of Square Numbers C# Medium
636 Exclusive Time of Functions C# Medium
637 Average of Levels in Binary Tree C# Easy
638 Shopping Offers C# Medium
639 Decode Ways II C# Hard
640 Solve the Equation C# Medium
641 Design Circular Deque C# Medium
643 Maximum Average Subarray I C# Easy
645 Set Mismatch C# Easy
646 Maximum Length of Pair Chain C# Medium
647 Palindromic Substrings C# Medium
648 Replace Words C# Medium
649 Dota2 Senate C# Medium
650 2 Keys Keyboard C# Medium
652 Find Duplicate Subtrees C# Medium
653 Two Sum IV - Input is a BST C# Easy
654 Maximum Binary Tree C# Medium
655 Print Binary Tree C# Medium
657 Robot Return to Origin C# Easy
658 Find K Closest Elements C# Medium
659 Split Array into Consecutive Subsequences C# Medium
661 Image Smoother C# Easy
662 Maximum Width of Binary Tree C# Medium
664 Strange Printer C# Hard
665 Non-decreasing Array C# Easy
667 Beautiful Arrangement II C# Medium
668 Kth Smallest Number in Multiplication Table C# Hard
669 Trim a Binary Search Tree C# Medium
670 Maximum Swap C# Medium
671 Second Minimum Node In a Binary Tree C# Easy
672 Bulb Switcher II C# Medium
673 Number of Longest Increasing Subsequence C# Medium
674 Longest Continuous Increasing Subsequence C# Easy
675 Cut Off Trees for Golf Event C# Hard
676 Implement Magic Dictionary C# Medium
677 Map Sum Pairs C# Medium
678 Valid Parenthesis String C# Medium
679 24 Game C# Hard
680 Valid Palindrome II C# Easy
682 Baseball Game C# Easy
684 Redundant Connection C# Medium
685 Redundant Connection II C# Hard
686 Repeated String Match C# Easy
687 Longest Univalue Path C# Easy
688 Knight Probability in Chessboard C# Medium
689 Maximum Sum of 3 Non-Overlapping Subarrays C# Hard
690 Employee Importance C# Easy
691 Stickers to Spell Word C# Hard
692 Top K Frequent Words C# Medium
693 Binary Number with Alternating Bits C# Easy
695 Max Area of Island C# Medium
696 Count Binary Substrings C# Easy
697 Degree of an Array C# Easy
698 Partition to K Equal Sum Subsets C# Medium
699 Falling Squares C# Hard
700 Search in a Binary Search Tree C# Easy
701 Insert into a Binary Search Tree C# Medium
703 Kth Largest Element in a Stream C# Easy
704 Binary Search C# Easy
705 Design HashSet C# Easy
706 Design HashMap C# Easy
707 Design Linked List C# Medium
709 To Lower Case C# Easy
710 Random Pick with Blacklist C# Hard
712 Minimum ASCII Delete Sum for Two Strings C# Medium
713 Subarray Product Less Than K C# Medium
714 Best Time to Buy and Sell Stock with Transaction Fee C# Medium
717 1-bit and 2-bit Characters C# Easy
718 Maximum Length of Repeated Subarray C# Medium
719 Find K-th Smallest Pair Distance C# Hard
720 Longest Word in Dictionary C# Easy
722 Remove Comments C# Medium
724 Find Pivot Index C# Easy
725 Split Linked List in Parts C# Medium
728 Self Dividing Numbers C# Easy
729 My Calendar I C# Medium
731 My Calendar II C# Medium
732 My Calendar III C# Hard
733 Flood Fill C# Easy
735 Asteroid Collision C# Medium
736 Parse Lisp Expression C# Hard
738 Monotone Increasing Digits C# Medium
739 Daily Temperatures C# Medium
740 Delete and Earn C# Medium
741 Cherry Pickup C# Hard
743 Network Delay Time C# Medium
744 Find Smallest Letter Greater Than Target C# Easy
746 Min Cost Climbing Stairs C# Easy
747 Largest Number At Least Twice of Others C# Easy
748 Shortest Completing Word C# Easy
749 Contain Virus C# Hard
752 Open the Lock C# Medium
753 Cracking the Safe C# Hard
754 Reach a Number C# Medium
756 Pyramid Transition Matrix C# Medium
761 Special Binary String C# Hard
762 Prime Number of Set Bits in Binary Representation C# Easy
763 Partition Labels C# Medium
764 Largest Plus Sign C# Medium
765 Couples Holding Hands C# Hard
766 Toeplitz Matrix C# Easy
767 Reorganize String C# Medium
768 Max Chunks To Make Sorted II C# Hard
769 Max Chunks To Make Sorted C# Medium
771 Jewels and Stones C# Easy
773 Sliding Puzzle C# Hard
775 Global and Local Inversions C# Medium
777 Swap Adjacent in LR String C# Medium
778 Swim in Rising Water C# Hard
779 K-th Symbol in Grammar C# Medium
780 Reaching Points C# Hard
781 Rabbits in Forest C# Medium
782 Transform to Chessboard C# Hard
783 Minimum Distance Between BST Nodes C# Easy
785 Is Graph Bipartite? C# Medium
786 K-th Smallest Prime Fraction C# Hard
787 Cheapest Flights Within K Stops C# Medium
788 Rotated Digits C# Easy
789 Escape The Ghosts C# Medium
790 Domino and Tromino Tiling C# Medium
791 Custom Sort String C# Medium
792 Number of Matching Subsequences C# Medium
793 Preimage Size of Factorial Zeroes Function C# Hard
794 Valid Tic-Tac-Toe State C# Medium
795 Number of Subarrays with Bounded Maximum C# Medium
796 Rotate String C# Easy
797 All Paths From Source to Target C# Medium
798 Smallest Rotation with Highest Score C# Hard
799 Champagne Tower C# Medium
801 Minimum Swaps To Make Sequences Increasing C# Hard
802 Find Eventual Safe States C# Medium
804 Unique Morse Code Words C# Easy
805 Split Array With Same Average C# Hard
806 Number of Lines To Write String C# Easy
807 Max Increase to Keep City Skyline C# Medium
808 Soup Servings C# Medium
809 Expressive Words C# Medium
810 Chalkboard XOR Game C# Hard
811 Subdomain Visit Count C# Easy
812 Largest Triangle Area C# Easy
813 Largest Sum of Averages C# Medium
814 Binary Tree Pruning C# Medium
815 Bus Routes C# Hard
816 Ambiguous Coordinates C# Medium
817 Linked List Components C# Medium
818 Race Car C# Hard
819 Most Common Word C# Easy
820 Short Encoding of Words C# Medium
821 Shortest Distance to a Character C# Easy
822 Card Flipping Game C# Medium
823 Binary Trees With Factors C# Medium
824 Goat Latin C# Easy
825 Friends Of Appropriate Ages C# Medium
826 Most Profit Assigning Work C# Medium
827 Making A Large Island C# Hard
828 Unique Letter String C# Hard
829 Consecutive Numbers Sum C# Hard
830 Positions of Large Groups C# Easy
831 Masking Personal Information C# Medium
832 Flipping an Image C# Easy
833 Find And Replace in String C# Medium
834 Sum of Distances in Tree C# Hard
835 Image Overlap C# Medium
836 Rectangle Overlap C# Easy
887 Super Egg Drop C# Hard
837 New 21 Game C# Medium
838 Push Dominoes C# Medium
839 Similar String Groups C# Hard
840 Magic Squares In Grid C# Easy
841 Keys and Rooms C# Medium
842 Split Array into Fibonacci Sequence C# Medium
844 Backspace String Compare C# Easy
845 Longest Mountain in Array C# Medium
846 Hand of Straights C# Medium
847 Shortest Path Visiting All Nodes C# Hard
848 Shifting Letters C# Medium
849 Maximize Distance to Closest Person C# Medium
851 Loud and Rich C# Medium
852 Peak Index in a Mountain Array C# Medium
853 Car Fleet C# Medium
854 K-Similar Strings C# Hard
855 Exam Room C# Medium
856 Score of Parentheses C# Medium
857 Minimum Cost to Hire K Workers C# Hard
858 Mirror Reflection C# Medium
859 Buddy Strings C# Easy
860 Lemonade Change C# Easy
861 Score After Flipping Matrix C# Medium
862 Shortest Subarray with Sum at Least K C# Hard
863 All Nodes Distance K in Binary Tree C# Medium
864 Shortest Path to Get All Keys C# Hard
865 Smallest Subtree with all the Deepest Nodes C# Medium
866 Prime Palindrome C# Medium
867 Transpose Matrix C# Easy
868 Binary Gap C# Easy
869 Reordered Power of 2 C# Medium
870 Advantage Shuffle C# Medium
871 Minimum Number of Refueling Stops C# Hard
872 Leaf-Similar Trees C# Easy
873 Length of Longest Fibonacci Subsequence C# Medium
874 Walking Robot Simulation C# Easy
875 Koko Eating Bananas C# Medium
876 Middle of the Linked List C# Easy
877 Stone Game C# Medium
878 Nth Magical Number C# Hard
879 Profitable Schemes C# Hard
881 Boats to Save People C# Medium
882 Reachable Nodes In Subdivided Graph C# Hard
883 Projection Area of 3D Shapes C# Easy
884 Uncommon Words from Two Sentences C# Easy
885 Spiral Matrix III C# Medium
886 Possible Bipartition C# Medium
887 Super Egg Drop C# Hard
888 Fair Candy Swap C# Easy
889 Construct Binary Tree from Preorder and Postorder Traversal C# Medium
890 Find and Replace Pattern C# Medium
891 Sum of Subsequence Widths C# Hard
892 Surface Area of 3D Shapes C# Easy
893 Groups of Special-Equivalent Strings C# Medium
894 All Possible Full Binary Trees C# Medium
895 Maximum Frequency Stack C# Hard
896 Monotonic Array C# Easy
897 Increasing Order Search Tree C# Easy
898 Bitwise ORs of Subarrays C# Medium
899 Orderly Queue C# Hard
900 RLE Iterator C# Medium
901 Online Stock Span C# Medium
902 Numbers At Most N Given Digit Set C# Hard
903 Valid Permutations for DI Sequence C# Hard
904 Fruit Into Baskets C# Medium
905 Sort Array By Parity C# Easy
906 Super Palindromes C# Hard
907 Sum of Subarray Minimums C# Medium
908 Smallest Range I C# Easy
909 Snakes and Ladders C# Medium
910 Smallest Range II C# Medium
911 Online Election C# Medium
912 Sort an Array C# Medium
914 X of a Kind in a Deck of Cards C# Easy
915 Partition Array into Disjoint Intervals C# Medium
916 Word Subsets C# Medium
917 Reverse Only Letters C# Easy
918 Maximum Sum Circular Subarray C# Medium
919 Complete Binary Tree Inserter C# Medium
997 Find the Town Judge C# Easy
1071 Greatest Common Divisor of Strings C# Easy
1081 Smallest Subsequence of Distinct Characters C# Medium
1095 Find in Mountain Array C# Hard
1431 Kids With the Greatest Number of Candies C# Easy
1433 Check If a String Can Break Another String C# Medium
1768 Merge Strings Alternately C# Easy
1971 Find if Path Exists in Graph C# Easy
2620 Counter TypeScript Easy
2622 Cache With Time Limit TypeScript Medium
2621 Sleep TypeScript Easy
2623 Memoize TypeScript Medium
2625 Flatten Deeply Nested Array TypeScript Medium
2626 Array Reduce Transformation TypeScript Easy
2627 Debounce TypeScript Medium
2629 Function Composition TypeScript Easy
2631 Group By TypeScript Medium
2634 Filter Elements from Array TypeScript Easy
2635 Apply Transform Over Each Element in Array TypeScript Easy
2637 Promise Time Limit TypeScript Medium
2665 Counter II TypeScript Easy
2666 Allow One Function Call TypeScript Easy
2667 Create Hello World Function TypeScript Easy
2677 Array Prototype Last TypeScript Easy
2694 Event Emitter TypeScript Medium
2695 Array Wrapper TypeScript Easy
2703 Return Length of Arguments Passed TypeScript Easy
2704 To Be Or Not To Be TypeScript Easy
2705 Compact Object TypeScript Medium
2715 Timeout Cancellation TypeScript Easy
2721 Execute Asynchronous Functions in Parallel TypeScript Medium
2722 Join Two Arrays by ID TypeScript Medium
2723 Add Two Promises TypeScript Easy
2724 Sort By TypeScript Easy
2725 Interval Cancellation TypeScript Easy
2726 Calculator with Method Chaining TypeScript Easy
2727 Is Object Empty TypeScript Easy