![]() |
VOOZH | about |
Syntax: q_name << element Parameters: The function takes the element to be inserted into the queue. Return Value: It inserts the element into the queue.Example 1: Output:
5 6Example 2: Output:
10 12 13Reference: https://devdocs.io/ruby~2.5/queue#method-i-3C-3C