Triplebyte Interview Question

What is mutex and deadlock