[LeetCode]Maximum Sum of 3 Non-Overlapping Subarrays

题目描述:

LeetCode 689. Maximum Sum of 3 Non-Overlapping Subarrays

In a given array nums of positive integers, find three non-overlapping subarrays with maximum sum.

Each subarray will be of size k, and we want to maximize the sum of all ...

继续阅读

[LeetCode]Employee Importance

题目描述:

LeetCode 690. Employee Importance

You are given a data structure of employee information, which includes the employee's unique id, his importance value and his direct subordinates' id.

For example, employee 1 is the leader of employee 2, and employee ...

继续阅读