-
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…
-
1129.Shortest Path with Alternating ColorsYou are given an integern, the number …
-
45.Jump Game IIYou are given a0-indexedarray of integersnumsof lengthn. You are …
-
1519.Number of Nodes in the Sub-Tree With the Same LabelYou are given a tree (i.…
-
134.Gas StationThere arengas stations along a circular route, where the amount o…
-
797.All Paths From Source to TargetGiven a directed acyclic graph (DAG) ofnnodes…
-
739.Daily TemperaturesGiven an array of integerstemperaturesrepresents the daily…
-
1143.Longest Common SubsequenceGiven two stringstext1andtext2, returnthe length …
-
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…
-
1339.Maximum Product of Splitted Binary TreeGiven therootof a binary tree, split…
-
1026.Maximum Difference Between Node and AncestorGiven therootof a binary tree, …
-
876.Middle of the Linked ListEasy8162221Add to ListShareGiven theheadof a singly…