摘要:
题目描述 将一个字符串转换成一个整数,要求不能使用字符串转换整数的库函数。 数值为0或者字符串不是一个合法的数值则返回0 输入描述: 输入一个字符串,包括数字字母符号,可以为空 输出描述: 如果是合法的数值表达则返回该数字,否则返回0 输入例子: +2147483647 1a33 输出例子: 214 阅读全文
posted @ 2017-06-14 09:45
无惧风云
阅读(6157)
评论(1)
推荐(0)
摘要:
Given an array and a value, remove all instances of that value in place and return the new length. Do not allocate extra space for another array, you 阅读全文
posted @ 2017-06-14 09:24
无惧风云
阅读(160)
评论(0)
推荐(0)
浙公网安备 33010602011771号