Pergunta de entrevista da empresa Meta

1. How would one reconstruct a word from an input that does not contain any spaces.