代码改变世界

阅读排行榜

[LeetCode] 69. Sqrt(x)_Easy tag: Binary Search

2018-08-31 06:35 by Johnson_强生仔仔, 210 阅读, 收藏,
摘要: Implement int sqrt(int x). Compute and return the square root of x, where x is guaranteed to be a non-negative integer. Since the return type is an in 阅读全文

[LeetCode] 88. Merge Sorted Array_Easy tag: Two Pointers

2018-08-12 05:21 by Johnson_强生仔仔, 208 阅读, 收藏,
摘要: Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array. Note: The number of elements initialized in nums1 and num 阅读全文

[LeetCode] 114. Flatten Binary Tree to Linked List_Medium tag: DFS

2018-07-13 07:09 by Johnson_强生仔仔, 208 阅读, 收藏,
摘要: Given a binary tree, flatten it to a linked list in-place. For example, given the following tree: 1 / \ 2 5 / \ \ 3 4 6 The flattened tree should look 阅读全文

[LeetCode] 690. Employee Importance_Easy tag: BFS

2018-07-02 23:08 by Johnson_强生仔仔, 208 阅读, 收藏,
摘要: You are given a data structure of employee information, which includes the employee's unique id, his importance value and his directsubordinates' id. 阅读全文

[Java in NetBeans] Lesson 12. Arrays

2018-12-20 02:58 by Johnson_强生仔仔, 206 阅读, 收藏,
摘要: 这个课程的参考视频和图片来自youtube。 主要学到的知识点有: 1. Array: container that holds a fixed number of values of the same type, can be access by index. Create a string ar 阅读全文
上一页 1 ··· 42 43 44 45 46 47 48 49 50 ··· 78 下一页