摘要:
Question: Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below. For example, gi 阅读全文
摘要:
Question: Given a 2D binary matrix filled with 0's and 1's, find the largest square containing all 1's and return its area. For example, given the fol 阅读全文
摘要:
Question: Given a positive integer n, find the least number of perfect square numbers (for example, 1, 4, 9, 16, ...) which sum to n. For example, giv 阅读全文
摘要:
Question: Given a non negative integer number num. For every numbers i in the range 0 ≤ i ≤ num calculate the number of 1's in their binary representa 阅读全文
摘要:
Question: You are given coins of different denominations and a total amount of money amount. Write a function to compute the fewest number of coins th 阅读全文