0% found this document useful (0 votes)
55 views2 pages

Data Structures Lab 6

This lab report involves implementing queue functions like enqueue, dequeue and peek for a pre-lab task. The in-lab task focuses on implementing only the enqueue function for a priority queue.

Uploaded by

Amna Ejaz
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
55 views2 pages

Data Structures Lab 6

This lab report involves implementing queue functions like enqueue, dequeue and peek for a pre-lab task. The in-lab task focuses on implementing only the enqueue function for a priority queue.

Uploaded by

Amna Ejaz
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Data structures and algorithms

Lab report 6

Pre lab task


Complete the functions ‘enqueue()’ , ‘dequeue()’ and peek()
functions.
Enqueue:

Dequeue:
Peek

In lab Task 1
Implement a priority queue.
implement only the ‘enqueue()’ function.

You might also like