First one in, last one out That's how you work a queue, yeah Offer(), peek(), poll(), size(), and element() too ArrayList, LinkedList Gotta use these classes cause Queue is just an interface and not a class itself Gonna start an APT and it's gonna be a breeze it's gonna be a breeze, yes it is Gonna start an APT it'll take no time at all But -- what I didn't expect was I have to recurse for this And oh my gosh, I'm the worst at this Just last week we were working with queues And now recursion's what I'll have to use Time Limit Exceeded ?!?! This is the last thing that I needed! Infinite loops, what a curse Recursion, you're the worst! Oh no, oh no, oh no... Red, red, red, I hit the keyboard til im numb Tell ola I said hey, these apt-F¢s are really dumb-A Mad pointers, bad pointers, that-F¢s just what they are, yeah-A Makes me want to kick my computer really far Gave it all my code and it tossed it in the trash Garbage collector swept it up, yes, it did To write a working code is all I ever asked But what I didn't expect was I have to recurse for this And oh my gosh, I'm the worst at this Just last week we were working with queues And now recursion's what I'll have to use Time Limit Exceeded ?!?! This is the last thing that I needed! Infinite loops, what a curse Recursion, you're the worst! If eclipse says there are errors Oh, just watch me struggle with all of them I'll click the test/run button in terror ---there's still red, red, red, red red red But ola, I-F¢ll still do a green dance for ya-A I'm gonna fix all the reds for ya I-F¢d recurse all day long for ya-A You know I-F¢d code anything for ya-A No, I won't bubble sort anything Cuz that sorting method's really lame Maybe I'll just hard code these answers -- But is it the best way? Oh, it depends It all depends yes, it depends Yeahhh.