摘要: You are the operator of a Centennial Wheel that has four gondolas, and each gondola has room for up to four people. You have the ability to rotate the 阅读全文
posted @ 2020-09-27 13:08 CNoodle 阅读(306) 评论(0) 推荐(0)
摘要: The Leetcode file system keeps a log each time some user performs a change folder operation. The operations are described below: "../" : Move to the p 阅读全文
posted @ 2020-09-27 12:17 CNoodle 阅读(424) 评论(0) 推荐(0)
摘要: There are a total of numCourses courses you have to take, labeled from 0 to numCourses - 1. You are given an array prerequisites where prerequisites[i 阅读全文
posted @ 2020-09-27 09:41 CNoodle 阅读(332) 评论(0) 推荐(0)
摘要: You are given an array of n pairs pairs where pairs[i] = [lefti, righti] and lefti < righti. A pair p2 = [c, d] follows a pair p1 = [a, b] if b < c. A 阅读全文
posted @ 2020-09-27 08:10 CNoodle 阅读(300) 评论(0) 推荐(0)
摘要: Given an integer array nums, return all the different possible non-decreasing subsequences of the given array with at least two elements. You may retu 阅读全文
posted @ 2020-09-27 04:04 CNoodle 阅读(156) 评论(0) 推荐(0)
摘要: Given the head of a singly linked list, sort the list using insertion sort, and return the sorted list's head. The steps of the insertion sort algorit 阅读全文
posted @ 2020-09-27 03:14 CNoodle 阅读(524) 评论(0) 推荐(0)