Hi MANASA,
>
>
I replied to you in another thread, so I just put a summary here.

iterator from PriorityQueue does not return elements in a particular order 
<https://docs.oracle.com/javase/7/docs/api/java/util/PriorityQueue.html#iterator()>,
 
so your code does not actually work as your intended way.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Code Jam" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-code+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/50ec2272-804a-47ae-add3-6ba1e406d8ce%40googlegroups.com.

Reply via email to