Available question text
Find the minimum starting money that guarantees you can complete all given transactions (cost, cashback) no matter the order they're performed; the core challenge is handling the worst-case ordering by finding a greedy schedule (profit-making vs loss-making transactions) that minimizes the peak capital needed, with n up to 1e5 and values up to 1e9.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 2412. Minimum Money Required Before Transactions
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source