tsy3602 : 帖个晚上考试的算法题,如果可能的话麻烦版主重发
21255
悲剧的权限,我帖个我们今天晚上考试的一个算法题,给大家看看,如果可能的话麻烦版主重发下:
consider an n*n matrix M of integer numbers in which the elements in each row are sorted in ascending order and so are the elements in each column.
Check if a given number is in M.
求O(n)解法。
(这题我发过, 可以在网上搜杨氏矩阵)
consider an n*n matrix M of integer numbers in which the elements in each row are sorted in ascending order and so are the elements in each column.
Check if a given number is in M.
求O(n)解法。
(这题我发过, 可以在网上搜杨氏矩阵)
- 1
- 分享至
5条回复
发表回复
一亩三分地BBS
发现更多讨论
关注微信公众号
更多精彩内容
相关主题