In reply to kddholak:
Hi kddholak,
Thank you so much for reply and i understood your logic as well which is way more optimized and more correct way of doing. But, I need help in the way I am trying to implement so as to clear my few concepts about queues and its assignment. Could you please help me out in my logic formation?
Thanks and Regards,