-
163.Missing RangesYou are given an inclusive range[lower, upper]and asorted uniq…
-
160.Intersection of Two Linked ListsGiven the heads of two singly linked-listshe…
-
Design a stack that supports push, pop, top, and retrieving the minimum element …
-
141.Linked List CycleGivenhead, the head of a linked list, determine if the link…
-
136.Single NumberGiven anon-emptyarray of integersnums, every element appearstwi…
-
125.Valid PalindromeA phrase is apalindromeif, after converting all uppercase le…
-
867.Transpose MatrixEasy2013396Add to ListShareGiven a 2D integer arraymatrix, r…
-
1480.Running Sum of 1d ArrayEasy2927203Add to ListShareGiven an arraynums. We de…
-
121.Best Time to Buy and Sell StockYou are given an arraypriceswhereprices[i]is …
-
118.Pascal's TriangleGiven an integernumRows, return the first numRows ofPascal'…
-
108.Convert Sorted Array to Binary Search TreeGiven an integer arraynumswhere th…
-
94.Binary Tree Inorder TraversalGiven therootof a binary tree, returnthe inorder…
-
104.Maximum Depth of Binary TreeGiven therootof a binary tree, returnits maximum…
-
101.Symmetric TreeGiven therootof a binary tree,check whether it is a mirror of …
-
88.Merge Sorted ArrayYou are given two integer arraysnums1andnums2, sorted innon…