Classify concurrency anomaly between two transactions | Bitkernel Interview Question