摘要: This post shares a very nice solution using two heaps: a max heap for the smaller half and a min heap for the larger half. The code is rewritten below... 阅读全文
posted @ 2015-10-19 23:53 jianchao-li 阅读(1604) 评论(0) 推荐(0) 编辑