标签: leetcode
-
leetcode讲解–806. Number of Lines To Write String
We are to write the letters of a given string S, from l…
-
leetcode讲解–811. Subdomain Visit Count
A website domain like “discuss.leetcode.com” consists o…
-
leetcode讲解–885. Spiral Matrix III
On a 2 dimensional grid with R rows and C columns, we s…
-
leetcode讲解–876. Middle of the Linked List
Given a non-empty, singly linked list with head node he…
-
leetcode讲解–559. Maximum Depth of N-ary Tree
The maximum depth is the number of nodes along the long…
-
leetcode讲解–867. Transpose Matrix
The transpose of a matrix is the matrix flipped over it…
-
leetcode讲解–908. Smallest Range I
Given an array A of integers, for each integer A[i] we …
-
leetcode讲解–883. Projection Area of 3D Shapes
On a N * N grid, we place some 1 * 1 * 1 cubes that are…
-
leetcode讲解–590. N-ary Tree Postorder Traversal
Given an n-ary tree, return the postorder traversal of …
-
leetcode讲解–700. Search in a Binary Search Tree
Given the root node of a binary search tree (BST) and a…