摘要: Problem:Given an array of meeting time intervals consisting of start and end times[[s1,e1],[s2,e2],...](si= min_heap.peek()) { min_heap.poll(); ... 阅读全文
posted @ 2015-09-13 12:02 airforce 阅读(1128) 评论(0) 推荐(0) 编辑
摘要: Problem:Given an array of meeting time intervals consisting of start and end times[[s1,e1],[s2,e2],...](si interval_sort = new Comparator() { @Over... 阅读全文
posted @ 2015-09-13 10:11 airforce 阅读(528) 评论(0) 推荐(0) 编辑
摘要: Problem:A strobogrammatic number is a number that looks the same when rotated 180 degrees (looked at upside down).Find all strobogrammatic numbers tha... 阅读全文
posted @ 2015-09-13 09:18 airforce 阅读(739) 评论(0) 推荐(0) 编辑
摘要: Problem:There are a row ofnhouses, each house can be painted with one of thekcolors. The cost of painting each house with a certain color is different... 阅读全文
posted @ 2015-09-13 06:20 airforce 阅读(3253) 评论(0) 推荐(0) 编辑
摘要: Problem:There are a row ofnhouses, each house can be painted with one of the three colors: red, blue or green. The cost of painting each house with a ... 阅读全文
posted @ 2015-09-13 04:41 airforce 阅读(656) 评论(0) 推荐(0) 编辑