码迷,mamicode.com
首页 >  
搜索关键字:given n integers    ( 24278个结果
PAT A1119 Pre- and Post-order Traversals (30 分)
Suppose that all the keys in a binary tree are distinct positive integers. A unique binary tree can be determined by a given pair of postorder and ino ...
分类:其他好文   时间:2021-02-16 12:28:45    阅读次数:0
LeetCode - Merge Intervals
Given an array of intervals where intervals[i] = [starti, endi], merge all overlapping intervals, and return an array of the non-overlapping intervals ...
分类:其他好文   时间:2021-02-16 12:04:54    阅读次数:0
1342. Number of Steps to Reduce a Number to Zero (E)
Number of Steps to Reduce a Number to Zero (E) 题目 Given a non-negative integer num, return the number of steps to reduce it to zero. If the current nu ...
分类:其他好文   时间:2021-02-16 12:04:19    阅读次数:0
0242. Valid Anagram (E)
Valid Anagram (E) 题目 Given two strings s and t , write a function to determine if t is an anagram of s. Example 1: Input: s = "anagram", t = "nagaram" ...
分类:其他好文   时间:2021-02-15 12:41:17    阅读次数:0
0138. Copy List with Random Pointer (M)
Copy List with Random Pointer (M) 题目 A linked list is given such that each node contains an additional random pointer which could point to any node in ...
分类:其他好文   时间:2021-02-15 11:52:08    阅读次数:0
[LeetCode] 1024. Video Stitching 视频拼接
You are given a series of video clips from a sporting event that lasted T seconds. These video clips can be overlapping with each other and have varie ...
分类:其他好文   时间:2021-02-15 11:46:25    阅读次数:0
LeetCode - Find Bottom Left Tree Value
Given the root of a binary tree, return the leftmost value in the last row of the tree. Example 1: Input: root = [2,1,3] Output: 1 Example 2: Input: r ...
分类:其他好文   时间:2021-02-10 12:54:11    阅读次数:0
LeetCode - Minimum Remove to Make Valid Parentheses
Given a string s of '(' , ')' and lowercase English characters. Your task is to remove the minimum number of parentheses ( '(' or ')', in any position ...
分类:其他好文   时间:2021-02-09 12:12:28    阅读次数:0
0071. Simplify Path (M)
Simplify Path (M) 题目 Given a string path, which is an absolute path (starting with a slash '/') to a file or directory in a Unix-style file system, co ...
分类:其他好文   时间:2021-02-06 11:56:45    阅读次数:0
116. Populating Next Right Pointers in Each Node
仅供自己学习 题目: You are given a perfect binary tree where all leaves are on the same level, and every parent has two children. The binary tree has the foll ...
分类:其他好文   时间:2021-02-04 12:10:58    阅读次数:0
24278条   上一页 1 ... 6 7 8 9 10 ... 2428 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!