Infosys interview question

what is bankers algorithm in os?