I read that the 4 conditions for deadlock prevention are necessary conditions and not sufficient.
The four necessary conditions are :-
Hold and wait.
A Dead-lock in an Operating System is
Definite waiting process
All of the above
As "If a process is unable to change its state indefinitely because ...