Goldman Sachs interview question

mostly on strings and queues