Assalamualaikum Wr. Wb.
Hello, at this time, i wanna discuss about queue. In data structure, queue is a special form of linear list where the operation of insertion only allowed through one side, called the back side ( REAR ) and the operation of deletion only allowed through another side, called the front side ( FRONT ) from list.
For example : Q = [ Q1 , Q2 , Q3 , … , Qn ]Here, i wanna share coding about queue with Java language. So, check this out and hope can be useful for you.
FRONT (Q) = Q1 and REAR (Q) = Qn .
Or you can download the coding from : (mediafire) , (megaupload).
Thanks.
Wassalamualaikum Wr. Wb.
Source theory : D. Suryadi , Pengantar Struktur Data , Gunadarma.