-
121.Best Time to Buy and Sell StockYou are given an arraypriceswhereprices[i]is …
-
1523.Count Odd Numbers in an Interval RangeGiven two non-negative integerslowand…
-
45.Jump Game IIYou are given a0-indexedarray of integersnumsof lengthn. You are …
-
144.Binary Tree Preorder TraversalGiven therootof a binary tree, returnthe preor…
-
797.All Paths From Source to TargetGiven a directed acyclic graph (DAG) ofnnodes…
-
198.House RobberYou are a professional robber planning to rob houses along a str…
-
70.Climbing StairsYou are climbing a staircase. It takesnsteps to reach the top.…
-
124.Binary Tree Maximum Path SumApathin a binary tree is a sequence of nodes whe…
-
876.Middle of the Linked ListEasy8162221Add to ListShareGiven theheadof a singly…
-
1207.Unique Number of OccurrencesEasy292062Add to ListShareGiven an array of int…
-
380.Insert Delete GetRandom O(1)Medium6981353Add to ListShareImplement theRandom…
-
1235.Maximum Profit in Job SchedulingHard466555Add to ListShareWe havenjobs, whe…
-
79.Word SearchMedium12096487Add to ListShareGiven anm x ngrid of charactersboard…
-
36.Valid SudokuMedium7416836Add to ListShareDetermine if a9 x 9Sudoku boardis va…
-
279.Perfect SquaresMedium8635373Add to ListShareGiven an integern, returnthe lea…