11 2016 档案

摘要:[题目] Given a column title as appear in an Excel sheet, return its corresponding column number. For example: [题目解析] 该题目比较简单,可以理解为一个26进制的数用10进制数表示的过程。 阅读全文
posted @ 2016-11-11 12:37 三刀 阅读(132) 评论(0) 推荐(0)
摘要:[题目] Calculate the sum of two integers a and b, but you are not allowed to use the operator + and -. Example:Given a = 1 and b = 2, return 3. [题目解析] 这 阅读全文
posted @ 2016-11-02 16:16 三刀 阅读(122) 评论(0) 推荐(0)
摘要:[题目] Given an array of integers, every element appears twice except for one. Find that single one. Note:Your algorithm should have a linear runtime co 阅读全文
posted @ 2016-11-02 16:03 三刀 阅读(124) 评论(0) 推荐(0)
摘要:[题目] Write a program that outputs the string representation of numbers from 1 to n. But for multiples of three it should output “Fizz” instead of the 阅读全文
posted @ 2016-11-02 15:41 三刀 阅读(270) 评论(0) 推荐(0)
摘要:[题目] Given a pattern and a string str, find if str follows the same pattern. Here follow means a full match, such that there is a bijection between a 阅读全文
posted @ 2016-11-02 15:15 三刀 阅读(462) 评论(0) 推荐(0)