i need to compare the size of 10 queues and determine the least one in size to insert the next element in
creating normal if statements will take A LOT of cases
so is there any way to do it using a queue of queue for example or an array of queues ?
note : i will need to compare my queues based on 2 separate things in 2 situations 1- based on size ( number of nods in it ) 2- based on the total number of the data in the nods in it ( which i have a separate function to calculate )