今天是1024,leetcode上的每日一题是1024,leetcode有心了。
下面是我第一次提交的代码:(Java)
public int videoStitching(int[][] clips, int T) {
// 1024
int fin = 0;
int tmp = 0;
int ans = 0;
while (fin < T) {
for (int i = 0; i < clips.length; i++) {
if (clips[i][0] <= fi