码迷,mamicode.com
首页 >  
搜索关键字:lintcode    ( 1584个结果
[LintCode] 599 Insert into a Cyclic Sorted List 解题报告
DescriptionGiven a node from a cyclic linked list which has been sorted, write a function to insert a value into the list such that it remains a cycli ...
分类:其他好文   时间:2017-05-19 10:08:28    阅读次数:216
【Lintcode】153.Combination Sum II
题目: Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. Each ...
分类:其他好文   时间:2017-05-17 23:41:37    阅读次数:288
【Lintcode】135.Combination Sum
题目: Given a set of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. The same re ...
分类:其他好文   时间:2017-05-17 23:32:59    阅读次数:228
【Lintcode】136.Palindrome Partitioning
题目: Given a string s, partition s such that every substring of the partition is a palindrome. Return all possible palindrome partitioning of s. Exampl ...
分类:其他好文   时间:2017-05-17 22:09:47    阅读次数:228
【Lintcode】017.Subsets
题目: 题解: Solution 1 () Solution 1.2 Solution 2 () Bit Manipulation This is the most clever solution that I have seen. The idea is that to give all the ...
分类:其他好文   时间:2017-05-17 20:03:55    阅读次数:176
【Lintcode】137.Clone Graph
题目: Clone an undirected graph. Each node in the graph contains a label and a list of its neighbors. How we serialize an undirected graph: Nodes are la ...
分类:其他好文   时间:2017-05-15 23:42:03    阅读次数:364
LintCode-Copy Books
Given an array A of integer with size of n( means n books and number of pages of each book) and k people to copy the book. You must distribute the con ...
分类:其他好文   时间:2017-05-15 10:02:31    阅读次数:192
[LintCode] 574 Build Post Office II
Problem Given a 2D grid, each cell is either a wall 2, an house 1 or empty 0 (the number zero, one, two), find the place to build a post office, the d ...
分类:其他好文   时间:2017-05-15 09:48:26    阅读次数:296
[LintCode] 598 Zombie in Matrix 解题报告
DescriptionGiven a 2D grid, each cell is either a wall 2, a zombie 1 or people 0 (the number zero, one, two).Zombies can turn the nearest people(up/do ...
分类:其他好文   时间:2017-05-14 12:22:11    阅读次数:357
[LintCode] 618 Search Graph Nodes 解题报告
DescriptionGiven a undirected graph, a node and a target, return the nearest node to given node which value of it is target, return NULL if you can't ...
分类:其他好文   时间:2017-05-14 01:16:38    阅读次数:247
1584条   上一页 1 ... 50 51 52 53 54 ... 159 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!