Delhivery interview question

types of locks in a database