码迷,mamicode.com
首页 >  
搜索关键字:lc    ( 989个结果
[LC] 1099. Two Sum Less Than K
Given an array A of integers and integer K, return the maximum S such that there exists i < j with A[i] + A[j] = S and S < K. If no i, j exist satisfy ...
分类:其他好文   时间:2020-01-12 11:53:41    阅读次数:79
[LC] 384. Shuffle an Array
Shuffle a set of numbers without duplicates. Example: // Init an array with set 1, 2, and 3. int[] nums = {1,2,3}; Solution solution = new Solution(nu ...
分类:其他好文   时间:2020-01-12 10:10:14    阅读次数:101
[LC] 398. Random Pick Index
Given an array of integers with possible duplicates, randomly output the index of a given target number. You can assume that the given target number m ...
分类:其他好文   时间:2020-01-12 09:53:56    阅读次数:64
作为合格的工程师,这些电路图一辈子都得记住!
作为合格的工程师,这些电路图一辈子都得记住! 时间:2017-11-08 关键字:电路图 放大电路 一、 信号滤波器 1、信号滤波器的作用: 与电源滤波器的区别和相同点: 2、LC 串联和并联电路的阻抗计算,幅频关系和相频关系曲线。 3、画出通频带曲线。 计算谐振频率。 二、 微分和积分电路 1、电 ...
分类:其他好文   时间:2020-01-10 15:56:52    阅读次数:74
[LC] 105. Construct Binary Tree from Preorder and Inorder Traversal
Given preorder and inorder traversal of a tree, construct the binary tree. Note:You may assume that duplicates do not exist in the tree. For example, ...
分类:其他好文   时间:2020-01-09 13:29:51    阅读次数:67
[LC] 108. Convert Sorted Array to Binary Search Tree
Given an array where elements are sorted in ascending order, convert it to a height balanced BST. For this problem, a height-balanced binary tree is d ...
分类:其他好文   时间:2020-01-09 13:08:36    阅读次数:69
[LC] 95. Unique Binary Search Trees II
Given an integer n, generate all structurally unique BST's (binary search trees) that store values 1 ... n. Example: Input: 3 Output: [ [1,null,3,2], ...
分类:其他好文   时间:2020-01-08 12:43:14    阅读次数:72
[LC] 96. Unique Binary Search Trees
Given n, how many structurally unique BST's (binary search trees) that store values 1 ... n? Example: Input: 3 Output: 5 Explanation: Given n = 3, the ...
分类:其他好文   时间:2020-01-07 13:18:06    阅读次数:58
[LC] 298. Binary Tree Longest Consecutive Sequence
Given a binary tree, find the length of the longest consecutive sequence path. The path refers to any sequence of nodes from some starting node to any ...
分类:其他好文   时间:2020-01-05 11:56:36    阅读次数:74
[LC] 102. Binary Tree Level Order Traversal
Given a binary tree, return the level order traversal of its nodes' values. (ie, from left to right, level by level). For example:Given binary tree [3 ...
分类:其他好文   时间:2020-01-05 11:37:20    阅读次数:72
989条   上一页 1 ... 14 15 16 17 18 ... 99 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!