Banker’s algorithm is used to avoid the deadlock condition. It is a deadlock avoidance technique. this algorithm checks whether the request made by a different process for a particular resource is checking for a safe state or not. if the process is in a safe state then it allows the request otherwise reject the request.
So Option $(B)$ is correct.