in this problem if you consider REQUEST = NEED then you can only execute p1 after that the system is deadlocked.
the problem in the link shows that for p1 and p3 ALLOC > REQUEST...this means REQUEST table is not MAXNEED it actually what is request i.e, ACTUALNEED