代码改变世界

阅读排行榜

[LeetCode] 674. Longest Continuous Increasing Subsequence_Easy Dynamic Programming

2018-08-02 09:18 by Johnson_强生仔仔, 243 阅读, 收藏,
摘要: Given an unsorted array of integers, find the length of longest continuous increasing subsequence (subarray). Example 1: Example 2: Note: Length of th 阅读全文

[LeetCode] 876. Middle of the Linked List_Easy tag: Linked List ** slow, fast pointers

2018-08-20 09:37 by Johnson_强生仔仔, 242 阅读, 收藏,
摘要: Given a non-empty, singly linked list with head node head, return a middle node of linked list. If there are two middle nodes, return the second middl 阅读全文

[Java in NetBeans] Lesson 02. Variables, Data Types and Assignment.

2018-10-20 04:13 by Johnson_强生仔仔, 241 阅读, 收藏,
摘要: 这个课程的参考视频在youtube。 主要学到的知识点有: Data Type: int, char, String, double, boolean. When into printf, int (%d), char (%c), String (%s), double (%f), boolean 阅读全文

[LeetCode] 74. Search a 2D Matrix_Medium tag: Binary Search

2018-08-30 11:08 by Johnson_强生仔仔, 241 阅读, 收藏,
摘要: 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 f 阅读全文

[LeetCode] 276. Paint Fence_Easy tag: Dynamic Programming

2018-08-28 08:14 by Johnson_强生仔仔, 241 阅读, 收藏,
摘要: There is a fence with n posts, each post can be painted with one of the k colors. You have to paint all the posts such that no more than two adjacent 阅读全文
上一页 1 ··· 28 29 30 31 32 33 34 35 36 ··· 78 下一页