Ciklum Interview Question

Optimistic vs. Pessimistic locking. Concept and examples