Find Minimum Cost to Remove Array Elements at DE Shaw

Medium21.3% acceptance

This problem has 87.5% frequency at DE Shaw.

Problem Description

You are given an integer array `nums`. Your task is to remove **all elements** from the array by performing one of the following operations at each step until `nums` is empty: * Choose any two elements from the first three elements of `nums` and remove them. The cost of this operation is the **ma...

Read full problem and hints

Topics

Also asked at 2 companies


More DE Shaw Questions

View all DE Shaw questions