2016年6月21日

Kth Smallest Sum In Two Sorted Arrays

摘要: Given two integer arrays sorted in ascending order and an integer k. Define sum = a + b, where a is an element from the first array and b is an elemen 阅读全文

posted @ 2016-06-21 20:07 Sheryl Wang 阅读(753) 评论(0) 推荐(0) 编辑

Kth Smallest Number in Sorted Matrix

摘要: Find the kth smallest number in at row and column sorted matrix. Given k = 4 and a matrix: [ [1 ,5 ,7], [3 ,7 ,8], [4 ,8 ,9], ] return 5 这一题是Kth Large 阅读全文

posted @ 2016-06-21 16:11 Sheryl Wang 阅读(252) 评论(0) 推荐(0) 编辑

Find Peak Element II

摘要: There is an integer matrix which has the following features: The numbers in adjacent positions are different. The matrix has n rows and m columns. For 阅读全文

posted @ 2016-06-21 10:13 Sheryl Wang 阅读(168) 评论(0) 推荐(0) 编辑

导航