摘要:
Clone an undirected graph. Each node in the graph contains a label and a list of its neighbors. OJ's undirected graph serialization: Nodes are labeled 阅读全文
阅读排行榜
[LeetCode] 383. Ransom Note_Easy tag: Hash Table
2018-08-15 00:45 by Johnson_强生仔仔, 165 阅读, 收藏,
摘要:
Given an arbitrary ransom note string and another string containing letters from all the magazines, write a function that will return true if the rans 阅读全文
[LeetCode]94, 144, 145 Binary Tree InOrder, PreOrder, PostOrder Traversal_Medium
2018-07-22 00:01 by Johnson_强生仔仔, 164 阅读, 收藏,
摘要:
Given a binary tree, return the inorder, preorder, postorder traversal of its nodes' values. Example: 这三个题目的思路及总结都在LeetCode questions conlusion_InOrde 阅读全文
[LeetCode] 661. Image Smoother_Easy
2018-08-27 12:07 by Johnson_强生仔仔, 163 阅读, 收藏,
摘要:
Given a 2D integer matrix M representing the gray scale of an image, you need to design a smoother to make the gray scale of each cell becomes the ave 阅读全文
[LeetCode] 278. First Bad Version_Easy tag: Binary Search
2018-08-29 11:19 by Johnson_强生仔仔, 162 阅读, 收藏,
摘要:
You are a product manager and currently leading a team to develop a new product. Unfortunately, the latest version of your product fails the quality c 阅读全文
浙公网安备 33010602011771号