摘要:
标题:Find Peak Element通过率:32.3%难度:中等A peak element is an element that is greater than its neighbors.Given an input array wherenum[i] ≠ num[i+1], find a ... 阅读全文
摘要:
标题:Search a 2D Matrix通过率31.3%难度中等Write an efficient algorithm that searches for a value in anmxnmatrix. This matrix has the following properties:Integ... 阅读全文