-
834.Sum of Distances in TreeThere is an undirected connected tree withnnodes lab…
-
1971.Find if Path Exists in GraphThere is abi-directionalgraph withnvertices, wh…
-
739.Daily TemperaturesGiven an array of integerstemperaturesrepresents the daily…
-
150.Evaluate Reverse Polish NotationEvaluate the value of an arithmetic expressi…
-
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.…
-
1026.Maximum Difference Between Node and AncestorGiven therootof a binary tree, …
-
872.Leaf-Similar TreesConsider all the leaves of a binary tree, fromleft to righ…
-
938.Range Sum of BSTGiven therootnode of a binary search tree and two integerslo…
-
328.Odd Even Linked ListGiven theheadof a singly linked list, group all the node…
-
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…