Software Engineering
Which locking strategy is most effective at minimizing the occurrence of deadlocks?
Explanation
Optimistic locking assumes conflicts are rare and avoids holding locks during transactions.
By reducing lock holding time, it minimizes the chances of deadlocks.