由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - 问一个古老的问题
相关主题
My Microsoft Interview QuestionsMS SDET onsite
careercup书上一个老题[google面试题] 判断是橘子还是香蕉
两道找最大submatrix的题?google 面试题
careerup 150的一道经典题M家面试题:write a function to draw a circle
问个老题 - max submatrix with the same borderA家电面
不太明白 pixel 谁能说说图形学的画图?WalmartLab面经
Smallest Rectangle Enclosing Black Pixels面试题
问一个题求rotate image的对折算法
相关话题的讨论汇总
话题: filled话题: pixel话题: black话题: design话题: imagin
进入JobHunting版参与讨论
1 (共1页)
r**u
发帖数: 1567
1
Imagin there is a square matrix with n x n cells. Each cell is either filled
with a black pixel or a white pixel. Design an algorithm to find the
maximum subsquare such that all four borders are filled with black pixels;
谢谢
f****b
发帖数: 486
2
the problem is listed in the book from zhiyebei.
column by column scannning, then check the subcolumn for possible max square
, complexity O(n^2)

filled

【在 r**u 的大作中提到】
: Imagin there is a square matrix with n x n cells. Each cell is either filled
: with a black pixel or a white pixel. Design an algorithm to find the
: maximum subsquare such that all four borders are filled with black pixels;
: 谢谢

1 (共1页)
进入JobHunting版参与讨论
相关主题
求rotate image的对折算法问个老题 - max submatrix with the same border
G家电面面经【已过HC,求祝福啊】不太明白 pixel 谁能说说图形学的画图?
腾讯招程序员不刷题的后果Smallest Rectangle Enclosing Black Pixels
下周面试狗家的product manager/product planner,问一个题
My Microsoft Interview QuestionsMS SDET onsite
careercup书上一个老题[google面试题] 判断是橘子还是香蕉
两道找最大submatrix的题?google 面试题
careerup 150的一道经典题M家面试题:write a function to draw a circle
相关话题的讨论汇总
话题: filled话题: pixel话题: black话题: design话题: imagin