queue::push()
← Back to Class queue
Insert a new element into the Queue
queue::push(element)
element
-
import adt/queue queue = queue() queue.push(10) queue.push(12) queue.push(8)
Documentation version: 1.0.16. Updated on: 14 July 2025.Dinfio is designed and written by Muhammad Faruq Nuruddinsyah. Copyright © 2014-2025. All rights reserved.