09 2016 档案

摘要:Given a positive integer, return its corresponding column title as appear in an Excel sheet. For example: 很惭愧,这一题我没折腾出来。刚刚做了她的姐妹题,是把字母转化成数字,但是反过来就很难搞了 阅读全文
posted @ 2016-09-04 13:10 罗伯特小咩 阅读(202) 评论(0) 推荐(0)
摘要:Implement atoi to convert a string to an integer. Hint: Carefully consider all possible input cases. If you want a challenge, please do not see below 阅读全文
posted @ 2016-09-04 09:15 罗伯特小咩 阅读(217) 评论(0) 推荐(0)
摘要:Given two strings s and t which consist of only lowercase letters. String t is generated by random shuffling string s and then add one more letter at 阅读全文
posted @ 2016-09-02 00:15 罗伯特小咩 阅读(334) 评论(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-09-02 00:08 罗伯特小咩 阅读(240) 评论(0) 推荐(0)