Teya interview question

- Difference between optimistic and pessimistic lock