代码改变世界

随笔档案-2015年04月

[LeetCode]Number of Islands

2015-04-08 19:59 by 庸男勿扰, 194 阅读, 收藏, 编辑
摘要: 原题链接:https://leetcode.com/problems/number-of-islands/题意描述:Given a 2d grid map of'1's (land) and'0's (water), count the number of islands. An island is... 阅读全文

[LeetCode]Binary Tree Right Side View

2015-04-06 17:36 by 庸男勿扰, 187 阅读, 收藏, 编辑
摘要: 原题链接:https://leetcode.com/problems/binary-tree-right-side-view/题意描述:Given a binary tree, imagine yourself standing on therightside of it, return the v... 阅读全文

[LeetCode]House Robber

2015-04-06 17:31 by 庸男勿扰, 251 阅读, 收藏, 编辑
摘要: 原题链接:https://leetcode.com/problems/house-robber/题意描述:You are a professional robber planning to rob houses along a street. Each house has a certain amo... 阅读全文
点击右上角即可分享
微信分享提示