摘要: Thanks to a certain "green" resources company, there is a new profitable industry of oil skimming. There are large slicks of crude oil floating in the 阅读全文
posted @ 2017-04-20 23:54 walfy 阅读(185) 评论(0) 推荐(0) 编辑
摘要: You’re giving a party in the garden of your villa by the sea. The party is a huge success, and everyone is here. It’s a warm, sunny evening, and a soo 阅读全文
posted @ 2017-04-20 18:24 walfy 阅读(468) 评论(0) 推荐(0) 编辑
摘要: Given an N*N matrix with each entry equal to 0 or 1. You can swap any two rows or any two columns. Can you find a way to make all the diagonal entries 阅读全文
posted @ 2017-04-20 18:20 walfy 阅读(109) 评论(0) 推荐(0) 编辑