結果 : explain banker's algorithm for deadlock avoidance with example