In reply to verif_learner:
If you have a good reason, then go for it. You were asking what was “common”.
Sometimes using a hash, or associative array is easer than traversing a queue.
In reply to verif_learner:
If you have a good reason, then go for it. You were asking what was “common”.
Sometimes using a hash, or associative array is easer than traversing a queue.