2592. Maximize Greatness of an Array
2592. Maximize Greatness of an Array
Description
You are given a 0-indexed integer array nums
. You are allowed to permute nums
into a new array perm
of your choosing.
2592. Maximize Greatness of an Array
You are given a 0-indexed integer array nums
. You are allowed to permute nums
into a new array perm
of your choosing.
1353. Maximum Number of Events That Can Be Attended
You are given an array of events
where events[i] = [startDay<sub>i</sub>, endDay<sub>i</sub>]
. Every event i
starts at startDay<sub>i</sub>
and ends at endDay<sub>i</sub>
.
465. Optimal Account Balancing
You are given an array of transactions transactions
where transactions[i] = [fromi, toi, amounti] indicates that the person with ID = fromi gave amounti $ to the person with ID = toi.