Introduction - If you have any usage issues, please Google them yourself
The banker's algorithm is based on the current state, checking who can do the work one by one according to the security sequence, and then assume that they do the work and return all the loans, and then check the next customer who can do the job.