← Questions

Min-priority queue without a library heap

0
AmazonCodingLast asked Aug 2026

Implement a min-priority queue yourself, without a library heap: insert, look at the minimum, and remove the minimum. Give the cost of each operation.

Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding