代码改变世界

阅读排行榜

[LeetCode] 286. Walls and Gates_Medium tag: BFS

2018-07-06 06:19 by Johnson_强生仔仔, 253 阅读, 收藏,
摘要: You are given a m x n 2D grid initialized with these three possible values. -1 - A wall or an obstacle. 0 - A gate. INF - Infinity means an empty room 阅读全文

[LeetCode] 42. Trapping Rain Water_hard tag: Two Pointers

2018-07-28 01:26 by Johnson_强生仔仔, 252 阅读, 收藏,
摘要: Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining. 阅读全文

[LeetCode] 39. Combination Sum_Medium tag: backtracking

2019-05-25 23:14 by Johnson_强生仔仔, 251 阅读, 收藏,
摘要: Given a set of candidate numbers (candidates) (without duplicates) and a target number (target), find all unique combinations in candidates where the 阅读全文

[LeetCode] 513. Find Bottom Left Tree Value_ Medium tag: BFS

2018-07-06 01:00 by Johnson_强生仔仔, 251 阅读, 收藏,
摘要: Given a binary tree, find the leftmost value in the last row of the tree. Example 1: Input: 2 / \ 1 3 Output: 1 Example 2: Input: 1 / \ 2 3 / / \ 4 5 阅读全文

[Java in NetBeans] Lesson 10. For Loops

2018-12-20 02:09 by Johnson_强生仔仔, 250 阅读, 收藏,
摘要: 这个课程的参考视频和图片来自youtube。 主要学到的知识点有:(the same use in C/C++) 1. x++, x += 1; similar x--, x -= 1; x *= 2; x /= 2. x++ : Plus 1 after the line is executed. 阅读全文
上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 78 下一页