2016年8月17日

摘要: Given a n x n matrix where each of the rows and columns are sorted in ascending order, find the kth smallest element in the matrix. Note that it is th 阅读全文
posted @ 2016-08-17 10:27 烁宝宝 阅读(139) 评论(0) 推荐(0)
 
摘要: Given a singly linked list, return a random node's value from the linked list. Each node must have the same probability of being chosen. Follow up:Wha 阅读全文
posted @ 2016-08-17 09:43 烁宝宝 阅读(362) 评论(0) 推荐(0)