Domanda di colloquio di Veritas Technologies

Implement binary search, reverse a string approach. what is Deadlock? why we use stacks.