m = pop Q
pop both returns the minimum element and deletes it from the queue.
|
|
|
|
|
Both pop Q and min Q return the same value, but Q is altered by pop.
The object pop is a method function.