Say wwr is NPDA. Why is it NPDA? Because we donot know the midpoint of the NPDA. So, here push and pop will be random access. Like say ababccbaba
Now, firstly it will try to take a in push , babccbaba as pop. But not accepted. So, discard it.
Next ab to push and then abccbaba as pop. will not accept, So discard it...........So, on
When it get ababc as push and cbaba as pop , it will get accepted.
So, get empty stack here. No need of furthur computation