最新 最热

【Python】8“函数的参数“

按函数参数顺序传入参数,这样的参数就叫做位置参数。Java的函数中,规定调用者必须按形式参数顺序依次传入参数,这样也可以看做是位置。 案例(幂运算):...

2021-08-12
1

LeetCode 0198 - House Robber

You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping you from rob...

2021-08-11
1

LeetCode 0203 - Remove Linked List Elements

Remove all elements from a linked list of integers that have value val.

2021-08-11
0

LeetCode 0179 - Largest Number

Given a list of non negative integers, arrange them such that they form the largest number.

2021-08-11
1

LeetCode 0148 - Sort List

Sort a linked list in O(n log n) time using constant space complexity.

2021-08-11
1

LeetCode 0139 - Word Break

Given a non-empty string s and a dictionary wordDict containing a list of non-empty words, determine if s can be segmented into a space-separated sequence of on...

2021-08-11
1

LeetCode 0140 - Word Break II

Given a non-empty string s and a dictionary wordDict containing a list of non-empty words, add spaces in s to construct a sentence where each word is a valid di...

2021-08-11
1

LeetCode 0141 - Linked List Cycle

Given a linked list, determine if it has a cycle in it.

2021-08-11
1

LeetCode 0142 - Linked List Cycle II

Given a linked list, return the node where the cycle begins. If there is no cycle, return null.

2021-08-11
1

LeetCode 0206 - Reverse Linked List

Reverse Linked ListDesicriptionReverse a singly linked list.Example:Input: 1->2->3->4->5->NULLO

2021-08-11
0