摘要: Given a linked list, determine if it has a cycle in it. Example Given -21->10->4->5, tail connects to node index 1, return true Given -21->10->4->5, t 阅读全文
posted @ 2016-03-25 08:40 哥布林工程师 阅读(163) 评论(0) 推荐(0) 编辑
摘要: Given a digit string, return all possible letter combinations that the number could represent. A mapping of digit to letters (just like on the telepho 阅读全文
posted @ 2016-03-25 08:26 哥布林工程师 阅读(145) 评论(0) 推荐(0) 编辑
摘要: Given a list of non negative integers, arrange them such that they form the largest number. Given [1, 20, 23, 4, 8], the largest formed number is 8423 阅读全文
posted @ 2016-03-25 08:05 哥布林工程师 阅读(145) 评论(0) 推荐(0) 编辑
摘要: Find the kth smallest number in at row and column sorted matrix. Given k = 4 and a matrix: [ [1 ,5 ,7], [3 ,7 ,8], [4 ,8 ,9], ] return 5 public class 阅读全文
posted @ 2016-03-25 07:35 哥布林工程师 阅读(187) 评论(0) 推荐(0) 编辑