0
Queue management task
Why do we set size as 0 and reserve memory from the heap in the constructor Queue()? Doesn’t that mean that we’re going to have size 0 every time we create an object? https://code.sololearn.com/cuq3IyszKJ4s/?ref=app
2 Answers
+ 1
Yes, each new instance of Queue would have zero item, and reserved 100 slots for its items.
+ 1
Ipang I din’t realize that’s for many queues, that was helpful, ty
Hot today
Python — File Handling
2 Votes
Help me
0 Votes
What’s wrong?
2 Votes
Question is write a c program to print prime numbers up to n and print the largest number in array.
1 Votes
Achievements on Sololearn
1 Votes
How to draw in the console?
0 Votes