for the situation of deadlock to occur, this implies that each process is holding a resource and waiting for more without giving it back. In this situation there are a total of 3 processes and 4c resources, each process can be assigned to a resource since they are all identical. Worst case scenario, one process will hold two resources, and the remaining 2 will hold one each, best case scenario, all 3 processes will hold one each and there will be a free resource available.