上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 28 下一页
摘要: Problem Definition: Given an array of size n, find the majority element. The majority element is the element that appears more than ⌊ n/2 ⌋ times. Y... 阅读全文
posted @ 2015-07-19 22:21 曾可爱 阅读(144) 评论(0) 推荐(0) 编辑
摘要: Problem Definition: Given a column title as appear in an Excel sheet, return its corresponding column number. For example: A -> 1 B -> 2 C ->... 阅读全文
posted @ 2015-07-19 19:56 曾可爱 阅读(106) 评论(0) 推荐(0) 编辑
摘要: Problem Definition: Given an integer n, return the number of trailing zeroes in n!. Note: Your solution should be in logarithmic time complexity.Sol... 阅读全文
posted @ 2015-07-19 16:41 曾可爱 阅读(86) 评论(0) 推荐(0) 编辑
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 28 下一页