上一页 1 2 3 4 5 6 7 8 9 10 ··· 29 下一页
摘要: Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximu... 阅读全文
posted @ 2015-12-01 20:18 eversliver 阅读(236) 评论(0) 推荐(0) 编辑
摘要: Write a program to solve a Sudoku puzzle by filling the empty cells.Empty cells are indicated by the character'.'.You may assume that there will be on... 阅读全文
posted @ 2015-11-30 22:20 eversliver 阅读(615) 评论(0) 推荐(0) 编辑
摘要: Given a linked list and a valuex, partition it such that all nodes less thanxcome before nodes greater than or equal tox.You should preserve the origi... 阅读全文
posted @ 2015-11-29 22:35 eversliver 阅读(281) 评论(0) 推荐(0) 编辑
摘要: Given an array of citations (each citation is a non-negative integer) of a researcher, write a function to compute the researcher's h-index.According ... 阅读全文
posted @ 2015-11-26 22:12 eversliver 阅读(394) 评论(0) 推荐(0) 编辑
摘要: You are playing the followingBulls and Cowsgame with your friend: You write down a number and ask your friend to guess what the number is. Each time y... 阅读全文
posted @ 2015-11-24 21:57 eversliver 阅读(557) 评论(0) 推荐(0) 编辑
摘要: Implement regular expression matching with support for'.'and'*'.'.' Matches any single character.'*' Matches zero or more of the preceding element.The... 阅读全文
posted @ 2015-11-23 22:04 eversliver 阅读(421) 评论(0) 推荐(0) 编辑
摘要: Given an integern, return all distinct solutions to then-queens puzzle.Each solution contains a distinct board configuration of then-queens' placement... 阅读全文
posted @ 2015-11-22 15:57 eversliver 阅读(356) 评论(0) 推荐(0) 编辑
摘要: The gray code is a binary numeral system where two successive values differ in only one bit. Given a non-negative integer n representing the total num 阅读全文
posted @ 2015-11-21 16:34 eversliver 阅读(596) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2015-11-21 16:28 eversliver 阅读(2) 评论(0) 推荐(0) 编辑
摘要: Given a strings, partitionssuch that every substring of the partition is a palindrome.Return all possible palindrome partitioning ofs.For example, giv... 阅读全文
posted @ 2015-11-21 11:15 eversliver 阅读(216) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 29 下一页