2016年9月29日

Dungeon Game

摘要: The demons had captured the princess (P) and imprisoned her in the bottom-right corner of a dungeon. The dungeon consists of M x N rooms laid out in a 阅读全文

posted @ 2016-09-29 16:45 Sheryl Wang 阅读(294) 评论(0) 推荐(0) 编辑

Set Matrix Zeroes

摘要: Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place. click to show follow up. Follow up: Did you use extra sp 阅读全文

posted @ 2016-09-29 10:59 Sheryl Wang 阅读(139) 评论(0) 推荐(0) 编辑

导航