Citadel Securities interview question

Implement a service to maximize throughput by increasing processes with a budget constraint