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.
Sign in to see submission history
Sign inSign in to use AI Mentor
Sign in