摘要: Given a linked list, determine if it has a cycle in it. Follow up:Can you solve it without using extra space?Subscribeto see which companies asked thi... 阅读全文
posted @ 2015-11-25 21:07 djiankuo 阅读(139) 评论(0) 推荐(0) 编辑
摘要: Given an array containingndistinct numbers taken from0, 1, 2, ..., n, find the one that is missing from the array. For example,Givennums=[0, 1, 3]retu... 阅读全文
posted @ 2015-11-25 20:42 djiankuo 阅读(169) 评论(0) 推荐(0) 编辑
摘要: Write a function that takes an unsigned integer and returns the number of ’1' bits it has (also known as theHamming weight).For example, the 32-bit in... 阅读全文
posted @ 2015-11-25 20:21 djiankuo 阅读(327) 评论(0) 推荐(0) 编辑
摘要: Related to questionExcel Sheet Column TitleGiven a column title as appear in an Excel sheet, return its corresponding column number.For example: A ... 阅读全文
posted @ 2015-11-25 16:22 djiankuo 阅读(136) 评论(0) 推荐(0) 编辑
摘要: Given a positive integer, return its corresponding column title as appear in an Excel sheet.For example: 1 -> A 2 -> B 3 -> C ... 26 ->... 阅读全文
posted @ 2015-11-25 14:10 djiankuo 阅读(179) 评论(0) 推荐(0) 编辑