标签: leetcode
-
31. Next Permutation
Implement next permutation, which rearranges numbers in…
-
22. Generate Parentheses
Given n pairs of parentheses, write a function to gener…
-
19. Remove Nth Node From End of List
Given a linked list, remove the n-th node from the end …
-
18. 4Sum
Given an array nums of n integers and an integer target…
-
16. 3Sum Closest
Given an array nums of n integers and an integer target…
-
17. Letter Combinations of a Phone Number
Given a string containing digits from 2-9 inclusive, re…
-
988-从叶结点开始的最小字符串
给定一颗根结点为 root 的二叉树,书中的每个结点都有一个从 0 到 25 的值,分别代表字母 ‘a’ 到 …
-
107. Binary Tree Level Order Traversal II
Given a binary tree, return the bottom-up level order t…
-
100. Same Tree
Given two binary trees, write a function to check if th…
-
88. Merge Sorted Array
Given two sorted integer arrays nums1 and nums2, merge …