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.1.03. Updated on: 11 February 2026.Dinfio is designed and written by Muhammad Faruq Nuruddinsyah. Copyright © 2014-2026. All rights reserved.