代码改变世界

阅读排行榜

[LeetCode] 339. Nested List Weight Sum_Easy tag:DFS

2018-08-15 23:50 by Johnson_强生仔仔, 288 阅读, 收藏,
摘要: Given a nested list of integers, return the sum of all integers in the list weighted by their depth. Each element is either an integer, or a list -- w 阅读全文

[LeetCode] 437. Path Sum III_ Medium tag: DFS

2018-07-18 00:38 by Johnson_强生仔仔, 288 阅读, 收藏,
摘要: You are given a binary tree in which each node contains an integer value. Find the number of paths that sum to a given value. The path does not need t 阅读全文

[Java in NetBeans] Lesson 13. Multidimensional Arrays

2018-12-20 03:10 by Johnson_强生仔仔, 286 阅读, 收藏,
摘要: 这个课程的参考视频和图片来自youtube。 主要学到的知识点有: 1. Multidimensional Array: Array that has more than one dimension. Create a array with two dimensions. 阅读全文

[LeetCode] 611. Valid Triangle Number_Medium tag: Two pointers

2019-05-31 11:01 by Johnson_强生仔仔, 285 阅读, 收藏,
摘要: Given an array consists of non-negative integers, your task is to count the number of triplets chosen from the array that can make triangles if we tak 阅读全文

[LeetCode] 240. Search a 2D Matrix II_Medium tag: Binary Search

2018-08-31 06:21 by Johnson_强生仔仔, 285 阅读, 收藏,
摘要: Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties: Integers in each row are sorted i 阅读全文
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 78 下一页