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 阅读(97) 评论(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 阅读(219) 评论(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 阅读(81) 评论(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 阅读(101) 评论(0) 推荐(0)

导航