2015年5月24日
摘要: class Solution {public: int rowlen; int collen; bool searchMatrix(vector>& matrix, int target) { rowlen = matrix[0].size(); ... 阅读全文
posted @ 2015-05-24 16:12 xgcode 阅读(112) 评论(0) 推荐(0)
摘要: class Solution {public: int findKthLargest(vector& nums, int k) { int index=0; int backindex = nums.size()-1, forindex = 0; while(1)... 阅读全文
posted @ 2015-05-24 15:31 xgcode 阅读(184) 评论(0) 推荐(0)