摘要: 题目说明 Given a binary tree, flatten it to a linked list in place. For example, Given 1 / \ 2 5 / \ \ 3 4 6 The flattened tree should look like: 1 \ 2 \ 阅读全文
posted @ 2018-04-03 19:58 森高Slontia 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 题目说明 Given a 2D binary matrix filled with 0's and 1's, find the largest square containing only 1's and return its area. For example, given the followi 阅读全文
posted @ 2018-04-03 16:20 森高Slontia 阅读(137) 评论(0) 推荐(0) 编辑