In reply to Srini @ CVCblr.com:
Hi Srini,
Thanks for the reply, but my requirement is different, I will explain you with example:
que1_q[0] = a1; que1_q[1] = a1;
que2_q[0] = a2; que1_q[1] = a3;
que3_q[0] = a3; que1_q[1] = a4;
like a1, a2 and a3 should be unique and the other indexes elements may take the values what it generated in zeroth index but the elements in all the queues for particular index should be unique.
What it means is the zeroth index elements in all the queues should be unique but not the elements of any queue.