Transfer Without Half-Done State
Transfer 100 in accounts from account id = 1 to account id = 2. Do it in one statement: money must not be debited without being credited, or credited without being debited, and the sender must not go below 0 during concurrent transfers.
Zaloguj się, aby zobaczyć historię rozwiązań
Zaloguj sięZaloguj się, aby korzystać z Mentora AI
Zaloguj się