tsy3602 : 帖个晚上考试的算法题,如果可能的话麻烦版主重发

wwwyhx
2125
5
悲剧的权限,我帖个我们今天晚上考试的一个算法题,给大家看看,如果可能的话麻烦版主重发下:

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条回复

发表回复