上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 23 下一页
摘要: A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null. Return a deep copy of the list. 阅读全文
posted @ 2014-07-07 01:06 jdflyfly 阅读(190) 评论(0) 推荐(0) 编辑
摘要: Given an array of integers, every element appears three times except for one. Find that single one. 阅读全文
posted @ 2014-07-07 01:03 jdflyfly 阅读(297) 评论(0) 推荐(0) 编辑
摘要: Given an array of integers, every element appears twice except for one. Find that single one. 阅读全文
posted @ 2014-07-07 00:32 jdflyfly 阅读(145) 评论(0) 推荐(0) 编辑
摘要: There are N children standing in a line. Each child is assigned a rating value. 阅读全文
posted @ 2014-07-07 00:23 jdflyfly 阅读(136) 评论(0) 推荐(0) 编辑
摘要: There are N gas stations along a circular route, where the amount of gas at station i is gas[i]. 阅读全文
posted @ 2014-07-07 00:12 jdflyfly 阅读(157) 评论(0) 推荐(0) 编辑
摘要: Clone an undirected graph. Each node in the graph contains a label and a list of its neighbors. 阅读全文
posted @ 2014-07-06 23:18 jdflyfly 阅读(149) 评论(0) 推荐(0) 编辑
摘要: Given a string s, partition s such that every substring of the partition is a palindrome. 阅读全文
posted @ 2014-07-06 23:10 jdflyfly 阅读(176) 评论(0) 推荐(0) 编辑
摘要: Given a string s, partition s such that every substring of the partition is a palindrome. 阅读全文
posted @ 2014-07-06 22:59 jdflyfly 阅读(257) 评论(0) 推荐(0) 编辑
摘要: Given a 2D board containing 'X' and 'O', capture all regions surrounded by 'X'. 阅读全文
posted @ 2014-07-06 22:54 jdflyfly 阅读(175) 评论(0) 推荐(0) 编辑
摘要: Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number. 阅读全文
posted @ 2014-07-06 22:47 jdflyfly 阅读(136) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 23 下一页