摘要: 8. 字符串转换整数(atoi) 题目链接 直接模拟 class Solution { public int myAtoi(String s) { int ans = 0; int coefficient = 1; boolean hasFirst = false; for(char c : s.t 阅读全文
posted @ 2021-01-21 17:50 一天到晚睡觉的鱼 阅读(72) 评论(0) 推荐(0)