摘要: Given a non-empty 2D matrix matrix and an integer k, find the max sum of a rectangle in the matrix such that its sum is no larger than k. Example: Not 阅读全文
posted @ 2018-11-04 22:33 Veritas_des_Liberty 阅读(274) 评论(0) 推荐(0)
摘要: You have a number of envelopes with widths and heights given as a pair of integers (w, h). One envelope can fit into another if and only if both the w 阅读全文
posted @ 2018-11-04 11:08 Veritas_des_Liberty 阅读(270) 评论(0) 推荐(0)