Pergunta de entrevista da empresa TO THE NEW

Simple java string manipulations. Oops. Basic selenium questions. Puzzles.