文章 220
评论 7
浏览 152706
138. Copy List with Random Pointer

138. Copy List with Random Pointer

A linked list of length n is given such that each node contains an additional random pointer, which could point to any node in the list, or null.Construct a deep copy of the list.

1143. Longest Common Subsequence

1143. Longest Common Subsequence

Given two strings text1 and text2, return *the length of their longest common subsequence. *If there is no common subsequence, return 0.

1335. Minimum Difficulty of a Job Schedule

1335. Minimum Difficulty of a Job Schedule

You want to schedule a list of jobs in d days. Jobs are dependent (i.e To work on the i-th job, you have to finish all the jobs j where 0 <= j < i).

Nothing just happens, it's all part of a plan.