http://www.sureinterview.com/shwqst/897001http://effprog.blogspot.in/2010/11/queue-to-find-min-in-o1.html