Pregunta de entrevista de Bluebeam

Medium LC string question and Java fundamentals.