摘要:
[抄题]: Given an m * n matrix M initialized with all 0's and several update operations. Operations are represented by a 2D array, and each operation is 阅读全文
posted @ 2018-05-03 21:36
苗妙苗
阅读(154)
评论(0)
推荐(0)
摘要:
[抄题]: We define the Perfect Number is a positive integer that is equal to the sum of all its positive divisors except itself. Now, given an integer n, 阅读全文
posted @ 2018-05-03 17:06
苗妙苗
阅读(242)
评论(0)
推荐(0)
摘要:
[抄题]: Given a non-negative integer c, your task is to decide whether there're two integers a and b such that a2 + b2 = c. Example 1: Example 2: [暴力解法] 阅读全文
posted @ 2018-05-03 16:23
苗妙苗
阅读(386)
评论(0)
推荐(0)
摘要:
[抄题]: Given a non-empty integer array of size n, find the minimum number of moves required to make all array elements equal, where a move is increment 阅读全文
posted @ 2018-05-03 10:31
苗妙苗
阅读(139)
评论(0)
推荐(0)
摘要:
[抄题]: A self-dividing number is a number that is divisible by every digit it contains. For example, 128 is a self-dividing number because 128 % 1 == 0 阅读全文
posted @ 2018-05-03 09:17
苗妙苗
阅读(314)
评论(0)
推荐(0)