2015年4月13日

168. Excel Sheet Column Title

摘要: 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-04-13 08:37 shini 阅读(93) 评论(0) 推荐(0) 编辑

169. Majority Element

摘要: Given an array of sizen, find the majority element. The majority element is the element that appears more than⌊ n/2 ⌋times.You may assume that the arr... 阅读全文

posted @ 2015-04-13 08:34 shini 阅读(212) 评论(0) 推荐(0) 编辑

171. Excel Sheet Column Number

摘要: 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-04-13 08:26 shini 阅读(74) 评论(0) 推荐(0) 编辑

172. Factorial Trailing Zeroes

摘要: Given an integern, return the number of trailing zeroes inn!.Note:Your solution should be in logarithmic time complexity.cracking interview原题,2*5可以构成一... 阅读全文

posted @ 2015-04-13 08:24 shini 阅读(93) 评论(0) 推荐(0) 编辑

导航