preloader
  • Home
  • Previous Questions

Contains previous problem statements given by various recruitors during their selection process.

1st Jan, 0001

Google

IDQuestions
1Two Sum
2Add Two Numbers
3Longest Substring Without Repeating Characters
4Median of Two Sorted Arrays
5Longest Palindromic Substring
6Zigzag Conversion
7Reverse Integer
8String to Integer (atoi)
9Palindrome Number
10Regular Expression Matching
11Container With Most Water
12Integer to Roman
13Roman to Integer
14Longest Common Prefix
153Sum
163Sum Closest
17Letter Combinations of a Phone Number
184Sum
19Remove Nth Node From End of List
20Valid Parentheses
21Merge Two Sorted Lists
22Generate Parentheses
23Merge k Sorted Lists
24Swap Nodes in Pairs
25Reverse Nodes in k-Group
26Remove Duplicates from Sorted Array
27Remove Element
28Find the Index of the First Occurrence in a String
29Divide Two Integers
30Substring with Concatenation of All Words
31Next Permutation
32Longest Valid Parentheses
33Search in Rotated Sorted Array
34Find First and Last Position of Element in Sorted Array
35Search Insert Position
36Valid Sudoku
37Sudoku Solver
38Count and Say
39Combination Sum
40Combination Sum II
41First Missing Positive
42Trapping Rain Water
43Multiply Strings
44Wildcard Matching
45Jump Game II
46Permutations
47Permutations II
48Rotate Image
49Group Anagrams
50Pow(x, n)
51N-Queens
52N-Queens II
53Maximum Subarray
54Spiral Matrix
55Jump Game
56Merge Intervals
57Insert Interval
58Length of Last Word
60Permutation Sequence
61Rotate List
62Unique Paths
63Unique Paths II
64Minimum Path Sum
65Valid Number
66Plus One
67Add Binary
68Text Justification
69Sqrt(x)
70Climbing Stairs
71Simplify Path
72Edit Distance
73Set Matrix Zeroes
74Search a 2D Matrix
75Sort Colors
76Minimum Window Substring
77Combinations
78Subsets
79Word Search
80Remove Duplicates from Sorted Array II
83Remove Duplicates from Sorted List
84Largest Rectangle in Histogram
85Maximal Rectangle
86Partition List
87Scramble String
88Merge Sorted Array
89Gray Code
90Subsets II
91Decode Ways
92Reverse Linked List II
93Restore IP Addresses
94Binary Tree Inorder Traversal
95Unique Binary Search Trees II
97Interleaving String
98Validate Binary Search Tree
99Recover Binary Search Tree
100Same Tree
101Symmetric Tree
102Binary Tree Level Order Traversal
103Binary Tree Zigzag Level Order Traversal
104Maximum Depth of Binary Tree
105Construct Binary Tree from Preorder and Inorder Traversal
106Construct Binary Tree from Inorder and Postorder Traversal
109Convert Sorted List to Binary Search Tree
110Balanced Binary Tree
111Minimum Depth of Binary Tree
112Path Sum
113Path Sum II
114Flatten Binary Tree to Linked List
115Distinct Subsequences
116Populating Next Right Pointers in Each Node
117Populating Next Right Pointers in Each Node II
118Pascal’s Triangle
121Best Time to Buy and Sell Stock
122Best Time to Buy and Sell Stock II
123Best Time to Buy and Sell Stock III
124Binary Tree Maximum Path Sum
125Valid Palindrome
126Word Ladder II
127Word Ladder
128Longest Consecutive Sequence
130Surrounded Regions
131Palindrome Partitioning
133Clone Graph
134Gas Station
135Candy
136Single Number
137Single Number II
138Copy List with Random Pointer
139Word Break
140Word Break II
141Linked List Cycle
142Linked List Cycle II
143Reorder List
144Binary Tree Preorder Traversal
146LRU Cache
148Sort List
149Max Points on a Line
150Evaluate Reverse Polish Notation
151Reverse Words in a String
152Maximum Product Subarray
153Find Minimum in Rotated Sorted Array
154Find Minimum in Rotated Sorted Array II
155Min Stack
158Read N Characters Given read4 II - Call Multiple Times
159Longest Substring with At Most Two Distinct Characters
161One Edit Distance
162Find Peak Element
163Missing Ranges
164Maximum Gap
166Fraction to Recurring Decimal
167Two Sum II - Input Array Is Sorted
168Excel Sheet Column Title
169Majority Element
171Excel Sheet Column Number
173Binary Search Tree Iterator
175Combine Two Tables
176Second Highest Salary
178Rank Scores
179Largest Number
181Employees Earning More Than Their Managers
184Department Highest Salary
185Department Top Three Salaries
187Repeated DNA Sequences
188Best Time to Buy and Sell Stock IV
189Rotate Array
190Reverse Bits
191Number of 1 Bits
193Valid Phone Numbers
197Rising Temperature
198House Robber
199Binary Tree Right Side View
200Number of Islands
201Bitwise AND of Numbers Range
202Happy Number
203Remove Linked List Elements
204Count Primes
205Isomorphic Strings
206Reverse Linked List
207Course Schedule
208Implement Trie (Prefix Tree)
209Minimum Size Subarray Sum
210Course Schedule II
211Design Add and Search Words Data Structure
212Word Search II
213House Robber II
214Shortest Palindrome
215Kth Largest Element in an Array
216Combination Sum III
217Contains Duplicate
218The Skyline Problem
219Contains Duplicate II
220Contains Duplicate III
221Maximal Square
222Count Complete Tree Nodes
224Basic Calculator
225Implement Stack using Queues
226Invert Binary Tree
227Basic Calculator II
228Summary Ranges
229Majority Element II
230Kth Smallest Element in a BST
231Power of Two
233Number of Digit One
234Palindrome Linked List
235Lowest Common Ancestor of a Binary Search Tree
236Lowest Common Ancestor of a Binary Tree
237Delete Node in a Linked List
238Product of Array Except Self
239Sliding Window Maximum
240Search a 2D Matrix II
241Different Ways to Add Parentheses
242Valid Anagram
244Shortest Word Distance II
246Strobogrammatic Number
247Strobogrammatic Number II
249Group Shifted Strings
250Count Univalue Subtrees
251Flatten 2D Vector
252Meeting Rooms
253Meeting Rooms II
257Binary Tree Paths
258Add Digits
2593Sum Smaller
261Graph Valid Tree
264Ugly Number II
266Palindrome Permutation
267Palindrome Permutation II
268Missing Number
269Alien Dictionary
270Closest Binary Search Tree Value
271Encode and Decode Strings
272Closest Binary Search Tree Value II
273Integer to English Words
274H-Index
276Paint Fence
277Find the Celebrity
278First Bad Version
279Perfect Squares
280Wiggle Sort
281Zigzag Iterator
282Expression Add Operators
283Move Zeroes
284Peeking Iterator
285Inorder Successor in BST
286Walls and Gates
287Find the Duplicate Number
288Unique Word Abbreviation
289Game of Life
292Nim Game
293Flip Game
294Flip Game II
295Find Median from Data Stream
296Best Meeting Point
297Serialize and Deserialize Binary Tree
298Binary Tree Longest Consecutive Sequence
299Bulls and Cows
300Longest Increasing Subsequence
301Remove Invalid Parentheses
302Smallest Rectangle Enclosing Black Pixels
304Range Sum Query 2D - Immutable
305Number of Islands II
306Additive Number
307Range Sum Query - Mutable
308Range Sum Query 2D - Mutable
309Best Time to Buy and Sell Stock with Cooldown
310Minimum Height Trees
312Burst Balloons
313Super Ugly Number
314Binary Tree Vertical Order Traversal
315Count of Smaller Numbers After Self
316Remove Duplicate Letters
317Shortest Distance from All Buildings
318Maximum Product of Word Lengths
320Generalized Abbreviation
321Create Maximum Number
322Coin Change
323Number of Connected Components in an Undirected Graph
324Wiggle Sort II
326Power of Three
327Count of Range Sum
328Odd Even Linked List
329Longest Increasing Path in a Matrix
330Patching Array
331Verify Preorder Serialization of a Binary Tree
332Reconstruct Itinerary
334Increasing Triplet Subsequence
336Palindrome Pairs
337House Robber III
338Counting Bits
340Longest Substring with At Most K Distinct Characters
341Flatten Nested List Iterator
343Integer Break
344Reverse String
345Reverse Vowels of a String
346Moving Average from Data Stream
347Top K Frequent Elements
348Design Tic-Tac-Toe
349Intersection of Two Arrays
351Android Unlock Patterns
353Design Snake Game
354Russian Doll Envelopes
355Design Twitter
356Line Reflection
357Count Numbers with Unique Digits
358Rearrange String k Distance Apart
359Logger Rate Limiter
360Sort Transformed Array
361Bomb Enemy
362Design Hit Counter
363Max Sum of Rectangle No Larger Than K
365Water and Jug Problem
366Find Leaves of Binary Tree
367Valid Perfect Square
368Largest Divisible Subset
369Plus One Linked List
370Range Addition
373Find K Pairs with Smallest Sums
374Guess Number Higher or Lower
375Guess Number Higher or Lower II
377Combination Sum IV
378Kth Smallest Element in a Sorted Matrix
379Design Phone Directory
380Insert Delete GetRandom O(1)
381Insert Delete GetRandom O(1) - Duplicates allowed
382Linked List Random Node
383Ransom Note
384Shuffle an Array
387First Unique Character in a String
388Longest Absolute File Path
389Find the Difference
391Perfect Rectangle
392Is Subsequence
393UTF-8 Validation
394Decode String
395Longest Substring with At Least K Repeating Characters
397Integer Replacement
398Random Pick Index
399Evaluate Division
400Nth Digit
401Binary Watch
402Remove K Digits
403Frog Jump
404Sum of Left Leaves
405Convert a Number to Hexadecimal
406Queue Reconstruction by Height
407Trapping Rain Water II
408Valid Word Abbreviation
409Longest Palindrome
410Split Array Largest Sum
411Minimum Unique Word Abbreviation
412Fizz Buzz
413Arithmetic Slices
415Add Strings
416Partition Equal Subset Sum
417Pacific Atlantic Water Flow
418Sentence Screen Fitting
419Battleships in a Board
420Strong Password Checker
421Maximum XOR of Two Numbers in an Array
422Valid Word Square
424Longest Repeating Character Replacement
425Word Squares
432All O`one Data Structure
435Non-overlapping Intervals
437Path Sum III
438Find All Anagrams in a String
441Arranging Coins
442Find All Duplicates in an Array
443String Compression
444Sequence Reconstruction
447Number of Boomerangs
448Find All Numbers Disappeared in an Array
450Delete Node in a BST
451Sort Characters By Frequency
452Minimum Number of Arrows to Burst Balloons
4544Sum II
458Poor Pigs
459Repeated Substring Pattern
460LFU Cache
463Island Perimeter
465Optimal Account Balancing
469Convex Polygon
471Encode String with Shortest Length
473Matchsticks to Square
474Ones and Zeroes
475Heaters
476Number Complement
480Sliding Window Median
481Magical String
482License Key Formatting
483Smallest Good Base
484Find Permutation
485Max Consecutive Ones
486Predict the Winner
487Max Consecutive Ones II
490The Maze
493Reverse Pairs
494Target Sum
496Next Greater Element I
498Diagonal Traverse
499The Maze III
501Find Mode in Binary Search Tree
503Next Greater Element II
505The Maze II
506Relative Ranks
507Perfect Number
510Count Subarrays With More Ones Than Zeros
511All Paths from Source Lead to Destination
514Freedom Trail
516Longest Palindromic Subsequence
518Coin Change II
520Detect Capital
521Longest Uncommon Subsequence I
522Longest Uncommon Subsequence II
523Continuous Subarray Sum
524Longest Word in Dictionary through Deleting
525Contiguous Array
526Beautiful Arrangement
527Word Abbreviation
530Minimum Absolute Difference in BST
531Lonely Pixel I
532K-diff Pairs in an Array
533Lonely Pixel II
535Encode and Decode TinyURL
539Minimum Time Difference
540Single Element in a Sorted Array
541Reverse String II
54201 Matrix
543Diameter of Binary Tree
544Output Contest Matches
545Boundary of Binary Tree
547Number of Provinces
549Binary Tree Longest Consecutive Sequence II
550Shortest Path to Get Food
551Student Attendance Record I
552Student Attendance Record II
554Brick Wall
556Next Greater Element III
557Reverse Words in a String III
560Subarray Sum Equals K
562Longest Line of Consecutive One in Matrix
564Find the Closest Palindrome
567Permutation in String
568Maximum Vacation Days
569Median Employee Salary
572Subtree of Another Tree
577Employee Bonus
581Shortest Unsorted Continuous Subarray
583Delete Operation for Two Strings
584Find Customer Referee
586Customer Placing the Largest Number of Orders
587Erect the Fence
588Design In-Memory File System
593Valid Square
595Big Countries
604Design Compressed String Iterator
605Can Place Flowers
609Find Duplicate File in System
616Add Bold Tag in String
621Task Scheduler
629K Inverse Pairs Array
630Course Schedule III
631Design Excel Sum Formula
632Smallest Range Covering Elements from K Lists
636Exclusive Time of Functions
638Shopping Offers
642Design Search Autocomplete System
643Maximum Average Subarray I
644Maximum Average Subarray II
647Palindromic Substrings
648Replace Words
6514 Keys Keyboard
652Find Duplicate Subtrees
653Two Sum IV - Input is a BST
656Coin Path
657Robot Return to Origin
658Find K Closest Elements
659Split Array into Consecutive Subsequences
662Maximum Width of Binary Tree
664Strange Printer
665Non-decreasing Array
667Beautiful Arrangement II
668Kth Smallest Number in Multiplication Table
670Maximum Swap
673Number of Longest Increasing Subsequence
674Longest Continuous Increasing Subsequence
676Implement Magic Dictionary
678Valid Parenthesis String
67924 Game
680Valid Palindrome II
681Next Closest Time
683K Empty Slots
684Redundant Connection
685Redundant Connection II
686Repeated String Match
687Longest Univalue Path
689Maximum Sum of 3 Non-Overlapping Subarrays
690Employee Importance
691Stickers to Spell Word
692Top K Frequent Words
695Max Area of Island
696Count Binary Substrings
697Degree of an Array
715Range Module
718Maximum Length of Repeated Subarray
719Find K-th Smallest Pair Distance
720Longest Word in Dictionary
721Accounts Merge
722Remove Comments
724Find Pivot Index
726Number of Atoms
727Minimum Window Subsequence
729My Calendar I
731My Calendar II
732My Calendar III
733Flood Fill
734Sentence Similarity
735Asteroid Collision
737Sentence Similarity II
739Daily Temperatures
740Delete and Earn
741Cherry Pickup
744Network Delay Time
746Prefix and Suffix Search
747Min Cost Climbing Stairs
748Largest Number At Least Twice of Others
749Shortest Completing Word
753Open the Lock
754Cracking the Safe
757Pyramid Transition Matrix
760Bold Words in String
761Employee Free Time
762Find Anagram Mappings
765Serialize and Deserialize N-ary Tree
766Flatten a Multilevel Doubly Linked List
768Partition Labels
770Couples Holding Hands
772Construct Quad Tree
775N-ary Tree Preorder Traversal
777Toeplitz Matrix
778Reorganize String
779Max Chunks To Make Sorted II
780Max Chunks To Make Sorted
785Basic Calculator III
786Search in a Sorted Array of Unknown Size
788Minimize Max Distance to Gas Station
789Kth Largest Element in a Stream
791Split BST
792Binary Search
793Swap Adjacent in LR String
794Swim in Rising Water
795K-th Symbol in Grammar
796Reaching Points
798Transform to Chessboard
799Minimum Distance Between BST Nodes
801Is Graph Bipartite?
803Cheapest Flights Within K Stops
804Rotated Digits
805Escape The Ghosts
806Domino and Tromino Tiling
807Custom Sort String
808Number of Matching Subsequences
810Valid Tic-Tac-Toe State
813All Paths From Source to Target
815Champagne Tower
816Design HashSet
817Design HashMap
818Similar RGB Color
820Find Eventual Safe States
821Bricks Falling When Hit
822Unique Morse Code Words
825Max Increase to Keep City Skyline
826Soup Servings
827Expressive Words
830Largest Triangle Area
831Largest Sum of Averages
833Bus Routes
834Ambiguous Coordinates
835Linked List Components
836Race Car
838Design Linked List
843Binary Trees With Factors
850Insert into a Sorted Circular Linked List
854Making A Large Island
855Count Unique Characters of All Substrings of a Given String
857Positions of Large Groups
860Design Circular Queue
861Flipping an Image
862Find And Replace in String
863Sum of Distances in Tree
864Image Overlap
865Robot Room Cleaner
867New 21 Game
868Push Dominoes
869Similar String Groups
870Magic Squares In Grid
871Keys and Rooms
873Guess the Word
874Backspace String Compare
875Longest Mountain in Array
876Hand of Straights
877Shortest Path Visiting All Nodes
879Maximize Distance to Closest Person
882Peak Index in a Mountain Array
883Car Fleet
884K-Similar Strings
885Exam Room
886Score of Parentheses
887Minimum Cost to Hire K Workers
889Buddy Strings
892Shortest Subarray with Sum at Least K
893All Nodes Distance K in Binary Tree
894Random Pick with Blacklist
895Shortest Path to Get All Keys
900Reordered Power of 2
902Minimum Number of Refueling Stops
903Implement Rand10() Using Rand7()
907Koko Eating Bananas
908Middle of the Linked List
911Profitable Schemes
912Random Pick with Weight
913Random Flip Matrix
914Random Point in Non-overlapping Rectangles
917Boats to Save People
922Possible Bipartition
923Super Egg Drop
925Construct Binary Tree from Preorder and Postorder Traversal
926Find and Replace Pattern
930All Possible Full Binary Trees
932Monotonic Array
933Increasing Order Search Tree
936RLE Iterator
937Online Stock Span
940Fruit Into Baskets
942Super Palindromes
945Snakes and Ladders
947Online Election
948Sort an Array
949Cat and Mouse
950X of a Kind in a Deck of Cards
952Word Subsets
953Reverse Only Letters
954Maximum Sum Circular Subarray
955Complete Binary Tree Inserter
956Number of Music Playlists
957Minimum Add to Make Parentheses Valid
960Minimize Malware Spread
962Flip String to Monotone Increasing
965Unique Email Addresses
966Binary Subarrays With Sum
967Minimum Falling Path Sum
968Beautiful Array
969Number of Recent Calls
971Shortest Bridge
972Knight Dialer
975Range Sum of BST
976Minimum Area Rectangle
977Distinct Subsequences II
978Valid Mountain Array
979DI String Match
981Delete Columns to Make Sorted
983Validate Stack Sequences
984Most Stones Removed with Same Row or Column
985Bag of Tokens
986Largest Time for Given Digits
988Flip Equivalent Binary Trees
989Largest Component Size by Common Factor
991Array of Doubled Pairs
992Delete Columns to Make Sorted II
998Check Completeness of a Binary Tree
999Regions Cut By Slashes
1000Delete Columns to Make Sorted III
1002Maximum Width Ramp
1003Minimum Area Rectangle II
1005Univalued Binary Tree
1007Numbers With Same Consecutive Differences
1008Binary Tree Cameras
1013Fibonacci Number
1014K Closest Points to Origin
1016Subarray Sums Divisible by K
1017Odd Even Jump
1019Squares of a Sorted Array
1021Distribute Coins in Binary Tree
1022Unique Paths III
1023Time Based Key-Value Store
1025Minimum Cost For Tickets
1028Interval List Intersections
1029Vertical Order Traversal of a Binary Tree
1030Smallest String Starting From Leaf
1032Satisfiability of Equality Equations
1034Subarrays with K Different Integers
1036Rotting Oranges
1039Find the Town Judge
1042Minimum Cost to Merge Stones
1046Max Consecutive Ones III
1049Minimum Domino Rotations For Equal Row
1051Shortest Way to Form String
1052Campus Bikes
1054Complement of Base 10 Integer
1055Pairs of Songs With Total Durations Divisible by 60
1056Capacity To Ship Packages Within D Days
1057Numbers With Repeated Digits
1060Longest Repeating Substring
1063Best Sightseeing Pair
1064Smallest Integer Divisible by K
1065Binary String With Substrings Representing 1 To N
1067Campus Bikes II
1069Confusing Number
1073Number of Enclaves
1076Brace Expansion
1077Confusing Number II
1078Remove Outermost Parentheses
1080Camelcase Matching
1081Video Stitching
1085The Earliest Moment When Everyone Become Friends
1087Longest Arithmetic Subsequence
1092Maximum Difference Between Node and Ancestor
1097Stream of Characters
1099Path With Maximum Minimum Value
1101Parallel Courses
1106Escape a Large Maze
1112Find Words That Can Be Formed by Characters
1115Valid Boomerang
1116Maximum Level Sum of a Binary Tree
1117As Far from Land as Possible
1118Divide Array Into Increasing Sequences
1120Flower Planting With No Adjacent
1122Longest Duplicate Substring
1123Single-Row Keyboard
1124String Transforms Into Another String
1126Minimum Cost to Connect Sticks
1127Last Stone Weight
1128Remove All Adjacent Duplicates In String
1129Longest String Chain
1134Shortest Distance to Target Color
1138Grumpy Bookstore Owner
1142Minimum Knight Moves
1144Optimize Water Distribution in a Village
1145Number of Submatrices That Sum to Target
1153Product Sales Analysis I
1156Occurrences After Bigram
1159Smallest Subsequence of Distinct Characters
1160Letter Tile Possibilities
1165Meeting Scheduler
1167Minimum Time to Build Blocks
1168Duplicate Zeros
1169Largest Values From Labels
1170Shortest Common Supersequence
1171Shortest Path in Binary Matrix
1176Design A Leaderboard
1177Tree Diameter
1184Car Pooling
1185Find in Mountain Array
1188Brace Expansion II
1192Divide Chocolate
1196Filling Bookcase Shelves
1197Parsing A Boolean Expression
1200Remove Interval
1203Print in Order
1205Defanging an IP Address
1207Delete Nodes And Return Forest
1210Mean of Array After Removing Some Elements
1211Iterator for Combination
1217Relative Sort Array
1221Element Appearing More Than 25% In Sorted Array
1222Remove Covered Intervals
1224Minimum Falling Path Sum II
1228Minimum Cost Tree From Leaf Values
1229Shortest Path with Alternating Colors
1232Sum of Mutated Array Closest to Target
1238Alphabet Board Path
1241Decompress Run-Length Encoded List
1242Matrix Block Sum
1244Distinct Echo Substrings
1247Decrease Elements To Make Array Zigzag
1248Binary Tree Coloring Game
1249Snapshot Array
1250Longest Common Subsequence
1251Longest Chunked Palindrome Decomposition
1254Deepest Leaves Sum
1256Rank Transform of an Array
1257Rank Transform of a Matrix
1258Article Views I
1263Number of Dice Rolls With Target Sum
1267Remove Zero Sum Consecutive Nodes from Linked List
1273Compare Strings by Frequency of the Smallest Character
1274Number of Days Between Two Dates
1275Validate Binary Tree Nodes
1277Largest Multiple of Three
1278Product Price at a Given Date
1286Constrained Subsequence Sum
1287Distance Between Bus Stops
1296Kth Ancestor of a Tree Node
1305Number of Visible People in a Queue
1308Smallest String With Swaps
1310Watering Plants
1319Unique Number of Occurrences
1324Where Will the Ball Fall
1325Path with Maximum Probability
1330Longest Arithmetic Subsequence of Given Difference
1331Path with Maximum Gold
1332Count Vowels Permutation
1335Maximum Candies Allocated to K Children
1337Design Skiplist
1350Remove Sub-Folders from the Filesystem
1352Maximum Profit in Job Scheduling
1358Find Positive Integer Solution for a Given Equation
1361Tiling a Rectangle with the Fewest Squares
1364Tuple with Same Product
1371Minimum Remove to Make Valid Parentheses
1374Leftmost Column with at Least a One
1380Number of Closed Islands
1381Maximum Score Words Formed by Letters
1384Maximum Font to Fit a Sentence in a Screen
1387Find Elements in a Contaminated Binary Tree
1389Minimum Moves to Move a Box to Their Target Location
1392Find the Difference of Two Arrays
1393Maximum Value of K Coins From Piles
1394Minimum Path Cost in a Grid
1396Count Servers that Communicate
1397Search Suggestions System
1398Number of Ways to Stay in the Same Place After Some Steps
1400Find Winner on a Tic Tac Toe Game
1402Count Square Submatrices with All Ones
1405All People Report to the Given Manager
1406Subtract the Product and Sum of Digits of an Integer
1409Minimum Number of Flips to Convert Binary Matrix to Zero Matrix
1413Maximum Side Length of a Square with Sum Less than or Equal to Threshold
1414Shortest Path in a Grid with Obstacles Elimination
1418Fair Distribution of Cookies
1422Divide Array in Sets of K Consecutive Numbers
1427All Elements in Two Binary Search Trees
1428Jump Game III
1431All Ancestors of a Node in a Directed Acyclic Graph
1437Minimum Insertion Steps to Make a String Palindrome
1443Minimum Distance to Type a Word Using Two Fingers
1447Jump Game IV
1456Find the City With the Smallest Number of Neighbors at a Threshold Distance
1461Count All Valid Pickup and Delivery Options
1463The K Weakest Rows in a Matrix
1468Check If N and Its Double Exist
1477Product of the Last K Numbers
1478Maximum Number of Events That Can Be Attended
1482How Many Numbers Are Smaller Than the Current Number
1483Rank Teams by Votes
1485Minimum Cost to Make at Least One Valid Path in a Grid
1487Cinema Seat Allocation
1488Sort Integers by The Power Value
1489Pizza With 3n Slices
1492Time Needed to Inform All Employees
1493Frog Position After T Seconds
1499Maximum Performance of a Team
1501Circle and Rectangle Overlapping
1508Longest Happy Prefix
1509Replace Employee ID With The Unique Identifier
1513Find All Good Strings
1515Find the Minimum Number of Fibonacci Numbers Whose Sum Is K
1522Stone Game III
1528Kids With the Greatest Number of Candies
1537Maximum Score After Splitting a String
1538Maximum Points You Can Obtain from Cards
1539Diagonal Traverse II
1543Simplified Fractions
1544Count Good Nodes in Binary Tree
1545Form Largest Integer With Digits That Add up to Target
1549Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit
1552Build an Array With Stack Operations
1555Number of Ways of Cutting a Pizza
1557Check If a String Contains All Binary Codes of Size K
1559Cherry Pickup II
1562People Whose List of Favorite Companies Is Not a Subset of Another List
1573Find Two Non-overlapping Sub-arrays Each With Target Sum
1580Shuffle the Array
1581The k Strongest Values in an Array
1582Design Browser History
1583Paint House III
1584Average Salary Excluding the Minimum and Maximum Salary
1587Parallel Courses II
1603Running Sum of 1d Array
1605Minimum Number of Days to Make m Bouquets
1612Avoid Flood in The City
1615Range Sum of Sorted Subarray Sums
1616Minimum Difference Between Largest and Smallest Value in Three Moves
1621Number of Subsequences That Satisfy the Given Sum Condition
1622Max Value of Equation
1627Last Moment Before All Ants Fall Out of a Plank
1628Count Submatrices With All Ones
1630Count Odd Numbers in an Interval Range
1632Number of Good Ways to Split a String
1633Minimum Number of Increments on Subarrays to Form a Target Array
1635Number of Good Pairs
1636Number of Substrings With Only 1s
1646Kth Missing Positive Number
1649Maximum Number of Non-Overlapping Subarrays With Sum Equals Target
1650Find Root of N-Ary Tree
1651Shuffle String
1653Number of Good Leaf Nodes Pairs
1655Move Sub-Tree of N-Ary Tree
1656Count Good Triplets
1661Minimum Number of Vertices to Reach All Nodes
1666Make The String Great
1669Minimum Cost to Cut a Stick
1676Minimum Number of Days to Eat N Oranges
1677Matrix Diagonal Sum
1681Guess the Majority in a Hidden Array
1684Find Latest Group of Size M
1687The Most Similar Path in a Graph
1692Number of Ways to Reorder Array to Get Same BST
1696Strange Printer II
1697Strings Differ by One Character
1701Remove Max Number of Edges to Keep Graph Fully Traversable
1703Put Boxes Into the Warehouse I
1704Special Positions in a Binary Matrix
1707Check If String Is Transformable With Substring Sort Operations
1710Find Servers That Handled Most Number of Requests
1711Find Valid Matrix Given Row and Column Sums
1713Dot Product of Two Sparse Vectors
1714Rearrange Spaces Between Words
1715Split a String Into the Max Number of Unique Substrings
1716Maximum Non Negative Product in a Matrix
1717Minimum Cost to Connect Two Groups of Points
1719Put Boxes Into the Warehouse II
1722Throne Inheritance
1723Maximum Number of Achievable Transfer Requests
1727Cat and Mouse II
1728Fancy Sequence
1730Special Array With X Elements Greater Than or Equal X
1733Maximum Number of Visible Points
1736Build Binary Expression Tree From Infix Expression
1739Split Two Strings to Make Palindrome
1741Sort Array by Increasing Frequency
1744Number of Ways to Form a Target String Given a Dictionary
1745Find Nearest Right Node in Binary Tree
1746Largest Substring Between Two Equal Characters
1750Check If Two Expression Trees are Equivalent
1752Arithmetic Subarrays
1753Path With Minimum Effort
1758Distribute Repeating Integers
1762Furthest Building You Can Reach
1765Merge In Between Linked Lists
1768Design an Expression Tree With Evaluate Function
1770Minimum Deletions to Make Character Frequencies Unique
1776Minimum Operations to Reduce X to Zero
1777Determine if Two Strings Are Close
1791Richest Customer Wealth
1792Find the Most Competitive Subsequence
1796Correct a Binary Tree
1798Max Number of K-Sum Pairs
1801Average Time of Process per Machine
1805Minimum Adjacent Swaps for K Consecutive Ones
1810Change the Root of a Binary Tree
1814Jump Game VI
1815Checking Existence of Edge Length Limited Paths
1818Maximum Score From Removing Substrings
1826Maximum XOR With an Element From Array
1828Count Ways to Distribute Candies
1829Maximum Units on a Truck
1832Minimum Operations to Make a Subsequence
1839Decode XORed Array
1840Minimize Hamming Distance After Swap Operations
1845Largest Submatrix With Rearrangements
1847Largest Subarray Length K
1858Latest Time by Replacing Hidden Digits
1859Change Minimum Characters to Satisfy One of Three Conditions
1860Find Kth Largest XOR Coordinate Value
1865Checking Existence of Edge Length Limited Paths II
1873Longest Nice Substring
1875Tree of Coprimes
1876Map of Highest Peak
1878Check if Array Is Sorted and Rotated
1879Maximum Score From Removing Stones
1883Find Distance in a Binary Tree
1890Sum of Beauty of All Substrings
1894Merge Strings Alternately
1895Minimum Number of Operations to Move All Balls to Each Box
1896Maximum Score from Performing Multiplication Operations
1900Closest Dessert Cost
1902Car Fleet II
1903Design Most Recently Used Queue
1907Count Pairs With XOR in a Range
1908Recyclable and Low Fat Products
1912Number of Restricted Paths From First to Last Node
1914Find the Subtasks That Did Not Execute
1918Maximum Score of a Good Subarray
1923Sentence Similarity III
1924Maximum Number of Groups Getting Fresh Donuts
1934Evaluate the Bracket Pairs of a String
1935Minimum Number of Operations to Reinitialize a Permutation
1939Queries on Number of Points Inside a Circle
1943Count Pairs of Equal Substrings With Minimum Difference
1949Implement Trie II (Prefix Tree)
1950Sign of the Product of an Array
1951Find the Winner of the Circular Game
1953Finding MK Average
1954Replace All Digits with Characters
1959Minimum Path Cost in a Hidden Grid
1960Check if the Sentence Is Pangram
1962Single-Threaded CPU
1966Frequency of the Most Frequent Element
1969Maximum Number of Accepted Invitations
1974Find Customers With Positive Revenue this Year
1977Minimum Interval to Include Each Query
1978Minimum Adjacent Swaps to Reach the Kth Smallest Number
1983Maximum Population Year
1984Maximum Distance Between a Pair of Values
1986Largest Color Value in a Directed Graph
1996Number of Ways to Rearrange Sticks With K Sticks Visible
2000Minimum Speed to Arrive on Time
2001Jump Game VII
2008Minimum Cost to Change the Final Value of Expression
2009Longest Word With All Prefixes
2012Process Tasks Using Servers
2013Minimum Skips to Arrive at Meeting On Time
2017Minimum Number of Flips to Make the Binary String Alternating
2018Minimum Space Wasted From Packaging
2026Merge Triplets to Form Target Triplet
2028The Earliest and Latest Rounds Where Players Compete
2029Minimize Product Sum of Two Arrays
2034Minimum Absolute Difference Queries
2036Count Pairs in Two Arrays
2038Nearest Exit from Entrance in Maze
2044Number of Wonderful Substrings
2045Cutting Ribbons
2047Find a Peak Element II
2048Build Array from Permutation
2049Eliminate Maximum Number of Monsters
2050Count Good Numbers
2055Describe the Painting
2058Concatenation of Array
2059Unique Length-3 Palindromic Subsequences
2061Painting a Grid With Three Different Colors
2067Maximum Number of Points with Cost
2069Kth Smallest Subarray Sum
2071Longest Common Subsequence Between Sorted Arrays
2074Erect the Fence II
2079Delete Duplicate Folders in System
2101Last Day Where You Can Still Cross
2104Operations on Tree
2107Find Unique Binary String
2111Binary Searchable Numbers in an Unsorted Array
2114Minimum Number of Work Sessions to Finish the Tasks
2115Number of Unique Good Subsequences
2117Find Original Array From Doubled Array
2121Find if Path Exists in Graph
2123The Number of Weak Characters in the Game
2132Convert 1D Array Into 2D Array
2135Maximum Number of Ways to Partition an Array
2139Detect Squares
2146Check if Word Can Be Placed In Crossword
2161Stock Price Fluctuation
2162Partition Array Into Two Arrays to Minimize Sum Difference
2176Parallel Courses III
2181Smallest Index With Equal Value
2183Minimum Operations to Convert Number
2193Count Fertile Pyramids in a Land
2198Process Restricted Friend Requests
2200Stamping the Grid
2206Detonate the Maximum Bombs
2210Find Target Indices After Sorting Array
2212Removing Minimum and Maximum From Array
2213Find All People With Secret
2217Step-By-Step Directions From a Binary Tree Node to Another
2218Paths in Maze That Lead to Same Room
2219Maximum Number of Words Found in Sentences
2220Find All Possible Recipes from Given Supplies
2221Check if a Parentheses String Can Be Valid
2226Rings and Rods
2228Watering Plants II
2237Longest Palindrome by Concatenating Two Letter Words
2241Recover the Original Array
2245Destroying Asteroids
2246Maximum Employees to Be Invited to a Meeting
2251Number of Ways to Divide a Long Corridor
2256Count Words Obtained After Adding a Letter
2261All Divisions With the Highest Score of a Binary Array
2264Minimum Sum of Four Digit Number After Splitting Digits
2265Partition Array According to Given Pivot
2266Minimum Cost to Set Cooking Time
2268Remove All Ones With Row and Column Flips
2270Find All Lonely Numbers in the Array
2279Maximum Split of Positive Even Integers
2286Minimum Time to Remove All Cars Containing Illegal Goods
2290Removing Minimum Number of Magic Beans
2291Maximum AND Sum of Array
2292Counting Words With a Given Prefix
2294Minimum Time to Complete Trips
2295Minimum Time to Finish the Race
2297Amount of New Area Painted Each Day
2306Create Binary Tree From Descriptions
2311Minimum White Tiles After Covering With Carpets
2312Most Frequent Number Following Key In an Array
2314Remove All Ones With Row and Column Flips II
2320Find All K-Distant Indices in an Array
2321Minimum Weighted Subgraph With the Required Paths
2322Number of Ways to Build Sturdy Brick Wall
2333Count Number of Rectangles Containing Each Point
2334Number of Flowers in Full Bloom
2338Minimum Consecutive Cards to Pick Up
2341Count Prefixes of a Given String
2344Escape the Spreading Fire
2345Minimum Number of Operations to Convert Time
2347Count Nodes Equal to Average of Subtree
2349Check if There Is a Valid Parentheses String Path
2350Find Closest Number to Zero
2352Design an ATM Machine
2353Maximum Score of a Node Sequence
2357Count Integers in Intervals
2359Maximum White Tiles Covered by a Carpet
2367Minimum Lines to Represent a Line Chart
2375Minimum Obstacle Removal to Reach Corner
2377Check if Number Has Equal Digit Count and Digit Value
2378Sender With Largest Word Count
2380Booking Concert Tickets in Groups
2383Add Two Integers
2385Count Positions on Street With Required Brightness
2389Design a Text Editor
2394Count Subarrays With Score Less Than K
2395Longest Binary Subsequence Less Than or Equal to K
2396Design Video Sharing Platform
2399Minimum Flips in Binary Tree to Get Result
2401Count Asterisks
2403Count Unreachable Pairs of Nodes in an Undirected Graph
2413Smallest Number in Infinite Set
2414Move Pieces to Obtain a String
2416Evaluate Boolean Binary Tree
2417The Latest Time to Catch a Bus
2419Subarray With Elements Greater Than Varying Threshold
2420Closest Node to Path in Tree
2427First Letter to Appear Twice
2432Number of Zero-Filled Subarrays
2434Design a Number Container System
2435Shortest Impossible Sequence of Rolls
2443Check if There is a Valid Partition For The Array
2447Merge Similar Items
2448Count Number of Bad Pairs
2450Minimum Replacements to Sort the Array
2454Largest Local Values in a Matrix
2472Build a Matrix With Conditions
2479Meeting Rooms III
2481Strictly Palindromic Number
2485Finding the Number of Visible Mountains
2489Sort Array by Moving Items to Empty Space
2494Sum of Prefix Scores of Strings
2505Number of Good Paths
2506Minimize Maximum Value in a Grid
2512Longest Uploaded Prefix
2513Number of Pairs Satisfying Inequality
2521Paths in Matrix Whose Sum Is Divisible by K
2525Count Number of Distinct Integers After Reverse Operations
2526Longest Increasing Subsequence II
2528Number of Valid Clock Times
2536Determine if Two Events Have Conflict
2538Minimum Cost to Make Array Equal
2545Height of Binary Tree After Subtree Removal Queries
2550Words Within Two Edits of Dictionary
2564Most Profitable Path in a Tree
2567Closest Nodes Queries in a Binary Search Tree
2569Number of Beautiful Partitions
2574Count Subarrays With Median K
2591Frog Jump II
2615Make Number of Distinct Characters Equal
2625Increment Submatrices by One
2641Disconnect Path in a Binary Matrix by at Most One Flip
2653Check if There is a Path With Equal Number of 0’s And 1’s
2687Lexicographically Smallest Beautiful String
2707Merge Two 2D Arrays by Summing Values
2716Prime Subtraction Operation
2732Counter
2734Array Prototype Last
2747Apply Transform Over Each Element in Array
2774Differences Between Two Objects
2809Create Hello World Function
2818Maximum Strictly Increasing Cells in a Matrix
2843Extract Kth Character From The Rope Tree
2849Sum of Imbalance Numbers of All Subarrays
2868Continuous Subarrays
2875Count Houses in a Circular Street
2891Maximum Beauty of an Array After Applying Operation
2914Find the Safest Path in a Grid
2953Count Pairs of Points With Distance k
3000Minimum Absolute Difference Between Elements With Constraint
3024String Transformation
3056Determine if a Cell Is Reachable at a Given Time
3057Count K-Subsequences of a String With Maximum Beauty
3058Maximum Number of K-Divisible Components
3158Maximum Length of Semi-Decreasing Subarrays
3178Minimum Increment Operations to Make Array Beautiful
3188Find Champion I
3189Find Champion II
3191Maximum Score After Applying Operations on a Tree
3212Count the Number of Good Partitions
3218Find Number of Coins to Place in Tree Nodes
3222Number of Equal Numbers Blocks
3229Minimum Cost to Make Array Equalindromic
3241Divide Array Into Arrays With Max Difference