摘要: 1 给一个和,从无序数组中找2个数=这个和,输出这2个数的索引 3 最长不含重复字符的子字符串 5 最长回文子串 7 反转一个整数,溢出时返回0 9 判断一个数是不是回文数 11 盛水的容器 13 把罗马数字转成阿拉伯整数 14 输出几个字符串的最长公共前缀 20 括号匹配 21 合并两个有序单链表 阅读全文
posted @ 2017-09-26 20:11 __Meng 阅读(1004) 评论(0) 推荐(0) 编辑
摘要: Given an array containing n distinct numbers taken from 0, 1, 2, ..., n, find the one that is missing from the array. For example,Given nums = [0, 1, 阅读全文
posted @ 2017-09-26 09:21 __Meng 阅读(149) 评论(0) 推荐(0) 编辑