首页 > 其他 > 详细

HackerRank - "Mr K marsh"

时间:2015-07-14 07:30:33      阅读:406      评论:0      收藏:0      [点我收藏+]

My first thought made it unnecessarily difficult. Well, the correct solution falls into a typical pattern: use DP to calc cumulative results of each cell, and then we use a sliding window to find max rect btw. 2 given rows.

https://www.hackerrank.com/challenges/mr-k-marsh/editorial

HackerRank - "Mr K marsh"

原文:http://www.cnblogs.com/tonix/p/4644420.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!