A queue is a data structure to which we can insert data and also delete from it. Unlike stack, which follows the LIFO principle ( Last In First Out ),

» Dhruvi Vikma | pythonpool.com