Is reconstructing a queue a keyword in programming? I am not familiar.
I think I get it. The sorted queue is randomized so your job is to find out the right order of what the queue is suppose to be.
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.