Source: http://www.darshan.ac.in/Upload/DIET/Documents/CE/Darshan_III%20Sem_DS_2130702_StackQueue_29092014_032037PM.pdf