由买买提看人间百态

topics

全部话题 - 话题: 110001100
(共0页)
l***t
发帖数: 81
1
来自主题: CS版 - CS Algo Question
1. Create a function findZeroArraySize() that takes a 2-dimensions int array
, its width and its height as arguments. The array is filled with 0 and 1. T
he function returns the size (in int) of the biggest 2-dimensions sub-array
filled only with 0. This function should be as fast as possible.
Ex:
If argument is , function returns 9.
001011110
110001100
010000011
110001100
111011100
Thanks a lot.
l***t
发帖数: 81
2
来自主题: Programming版 - [转载] CS Algorithm Interview question
【 以下文字转载自 JobHunting 讨论区 】
【 原文由 lhict 所发表 】
1. Create a function findZeroArraySize() that takes a 2-dimensions int array
, its width and its height as arguments. The array is filled with 0 and 1. T
he function returns the size (in int) of the biggest 2-dimensions sub-array
filled only with 0. This function should be as fast as possible.
Ex:
If argument is , function returns 9.
001011110
110001100
010000011
110001100
111011100
(共0页)