Consider an array-based queue with a size of 10. If the front pointer is currently at index 3 and the rear pointer is at index 7, how many elements are currently in the queue?
7
4
3
10

Data Structures and Algorithms Übungen werden geladen ...