摘要:
题目:mplement 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... 阅读全文
摘要:
这题花了3小时……116行代码,已经突破我目前的编码纪录题目:Given two binary strings, return their sum (also a binary string).For example,a = "11"b = "1"Return "100". 分析:1.第一反应是采用... 阅读全文
摘要:
题目:Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string.If the last wo... 阅读全文