-
121.Best Time to Buy and Sell StockYou are given an arraypriceswhereprices[i]is …
-
103.Binary Tree Zigzag Level Order TraversalGiven therootof a binary tree, retur…
-
2477.Minimum Fuel Cost to Report to the CapitalThere is a tree (i.e., a connecte…
-
1162.As Far from Land as PossibleGiven ann x ngridcontaining only values0and1, w…
-
45.Jump Game IIYou are given a0-indexedarray of integersnumsof lengthn. You are …
-
2246.Longest Path With Different Adjacent CharactersYou are given atree(i.e. a c…
-
100.Same TreeGiven the roots of two binary treespandq, write a function to check…
-
134.Gas StationThere arengas stations along a circular route, where the amount o…
-
150.Evaluate Reverse Polish NotationEvaluate the value of an arithmetic expressi…
-
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…
-
872.Leaf-Similar TreesConsider all the leaves of a binary tree, fromleft to righ…
-
380.Insert Delete GetRandom O(1)Medium6981353Add to ListShareImplement theRandom…
-
79.Word SearchMedium12096487Add to ListShareGiven anm x ngrid of charactersboard…