代码改变世界

阅读排行榜

[LeetCode] 127. Word Ladder _Medium tag: BFS

2018-07-04 10:16 by Johnson_强生仔仔, 263 阅读, 收藏,
摘要: Given two words (beginWord and endWord), and a dictionary's word list, find the length of shortest transformation sequence from beginWord to endWord, 阅读全文

[LeetCode] 21. Merge Two Sorted Lists_Easy tag: Linked List

2019-05-02 10:49 by Johnson_强生仔仔, 262 阅读, 收藏,
摘要: Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists. Example: 阅读全文

[LeetCode] 86. Partition List_Medium tag: Linked List

2019-05-02 09:57 by Johnson_强生仔仔, 262 阅读, 收藏,
摘要: Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x. You should preserve the 阅读全文

[LeetCode] 415. Add Strings_Easy tag: String

2018-08-13 04:21 by Johnson_强生仔仔, 262 阅读, 收藏,
摘要: Given two non-negative integers num1 and num2 represented as string, return the sum of num1 and num2. Note: 这个题目跟[LeetCode] 67. Add Binary_Easy tag: S 阅读全文

[LeetCode] 62. Unique Paths_ Medium tag: Dynamic Programming

2018-07-19 05:56 by Johnson_强生仔仔, 262 阅读, 收藏,
摘要: A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below). The robot can only move either down or right at any p 阅读全文
上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 78 下一页