Sponsored
Use these hints if you're stuck. Try solving on your own first.
How do you determine if a transaction will fail?
Simply apply the operations if the transaction is valid.
Solve with full IDE support and test cases