Is there a need to do all types of Queue ? Or just 1 type is enough . Like for Queue we we straight queue and circular queues , is there a need 2 do all of their types or just 1 type is enough ? ?
Each and every data structure have it’s own use … So in short , the answer is you must do all the queues .
If you want to read the theory part of the queues that must not be a Big Deal …But if you want to code the queue …You can STL if you are a C++ programmer
one more reason for learning all the queue types is the interview … There you are asked about every aspect of the data structure and algorithms …so if you miss one you are going to miss some of the opportunities