Question 18
ALGORITHMS
Answer the given subquestions.
If you initially implement Breadth-First Search using First-In-First-Out Queue and later replace the queue with Max-Priority Queue based on node depth (larger depth equals higher priority), then the memory footprint of the queue would __________ .
drop to O(1)
practically remain the same
significantly decrease
significantly increase