摘要:
Given two non-negative integers num1 and num2 represented as string, return the sum of num1 and num2. Note: 思路: 模拟手工加法过程,用carry表示进位。 第一个是自己写的,比较啰嗦。 第二 阅读全文
摘要:
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, 阅读全文