摘要:
题目:Perfect Squares 给定一个正整数n,找到总和为n的最小数量的完美平方数(例如,1,4,9,16,...)。 For example, given n = 12, return 3 because 12 = 4 + 4 + 4; given n = 13, return 2 bec 阅读全文
摘要:
题目:Integer to English Words Convert a non-negative integer to its english words representation. Given input is guaranteed to be less than 231 - 1. For 阅读全文
摘要:
题目:Missing Number 给定一个从0,1,2,...,n中取出的n个不同数字的数组,找到数组中缺少的数字。 Given an array containing n distinct numbers taken from 0, 1, 2, ..., n, find the one that 阅读全文