题目
We are given a list schedule of employees, which represents the working time for each employee.
Each employee has a list of non-overlapping Interv
...
题目Find the kth largest element in an unsorted array. Note that it is the kth largest element in the sorted order, not the kth distinct element.
示例1:12
...
题目Given a non-empty array of integers, return the *k* most frequent elements.
示例1:12Input: nums = [1,1,1,2,2,3], k = 2Output: [1,2]
示例2:12Input: nums
...
题目
You are given two non-empty linked lists representing two non-negative integers. The most significant digit comes first and each of their nodes con
...
题目Design your implementation of the linked list. You can choose to use the singly linked list or the doubly linked list. A node in a singly linked lis
...