摘要: # Content Given an integer n, return the least number of perfect square numbers that sum to n. A perfect square is an integer that is the square of an 阅读全文
posted @ 2023-08-25 14:55 shea24 阅读(24) 评论(0) 推荐(0)
摘要: # Content Given an m x n binary matrix filled with 0's and 1's, find the largest square containing only 1's and return its area. Example 1: Input: mat 阅读全文
posted @ 2023-08-25 11:22 shea24 阅读(12) 评论(0) 推荐(0)
摘要: # Content You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint s 阅读全文
posted @ 2023-08-25 09:25 shea24 阅读(8) 评论(0) 推荐(0)