码迷,mamicode.com
首页 >  
搜索关键字:lintcode    ( 1584个结果
375. Clone Binary Tree【LintCode java】
Description For the given binary tree, return a deep copy of it. Description Description For the given binary tree, return a deep copy of it. For the ...
分类:编程语言   时间:2018-07-14 14:42:00    阅读次数:134
372. Delete Node in a Linked List【LintCode java】
Description Implement an algorithm to delete a node in the middle of a singly linked list, given only access to that node. Description Description Imp ...
分类:编程语言   时间:2018-07-14 13:11:45    阅读次数:133
373. Partition Array by Odd and Even【LintCode java】
Description Partition an integers array into odd number first and even number second. Description Description Partition an integers array into odd num ...
分类:编程语言   时间:2018-07-14 13:02:09    阅读次数:115
365. Count 1 in Binary【LintCode java】
Description Count how many 1 in binary representation of a 32-bit integer. Description Description Count how many 1 in binary representation of a 32-b ...
分类:编程语言   时间:2018-07-14 11:56:03    阅读次数:133
79 最长公共子串
原题网址:https://www.lintcode.com/problem/longest-common-substring/description 描述 给出两个字符串,找到最长公共子串,并返回其长度。 描述 描述 给出两个字符串,找到最长公共子串,并返回其长度。 给出两个字符串,找到最长公共子串 ...
分类:其他好文   时间:2018-07-13 22:17:37    阅读次数:146
78 最长公共前缀
原题网址:https://www.lintcode.com/problem/longest-common-prefix/description 描述 给k个字符串,求出他们的最长公共前缀(LCP) 描述 描述 给k个字符串,求出他们的最长公共前缀(LCP) 给k个字符串,求出他们的最长公共前缀(LC ...
分类:其他好文   时间:2018-07-13 00:00:42    阅读次数:187
245. Subtree【LintCode java】
Description You have two very large binary trees: T1, with millions of nodes, and T2, with hundreds of nodes. Create an algorithm to decide if T2 is a ...
分类:编程语言   时间:2018-07-12 18:14:07    阅读次数:157
76 最长上升子序列
原题网址:https://www.lintcode.com/problem/longest-increasing-subsequence/description 描述 给定一个整数序列,找到最长上升子序列(LIS),返回LIS的长度。 描述 描述 给定一个整数序列,找到最长上升子序列(LIS),返回 ...
分类:其他好文   时间:2018-07-09 17:52:55    阅读次数:177
75 寻找峰值
原题网址:https://www.lintcode.com/problem/find-peak-element/description 描述 你给出一个整数数组(size为n),其具有以下特点: 相邻位置的数字是不同的 A[0] < A[1] 并且 A[n - 2] > A[n - 1] 假定P是峰 ...
分类:其他好文   时间:2018-07-08 18:07:23    阅读次数:162
74 第一个错误的代码版本
原题网址:https://www.lintcode.com/problem/first-bad-version/description 描述 代码库的版本号是从 1 到 n 的整数。某一天,有人提交了错误版本的代码,因此造成自身及之后版本的代码在单元测试中均出错。请找出第一个错误的版本号。 你可以通 ...
分类:其他好文   时间:2018-07-06 17:42:43    阅读次数:176
1584条   上一页 1 ... 13 14 15 16 17 ... 159 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!