Pregunta de entrevista de Fidelity Investments

The coding challenge was a pig latin game. Convert a sentence into pig latin using JavaScript or TypeScript

Respuesta de la entrevista

Anónimo

29 oct 2024

pigLatin("hello world!") should return ellohay orldway! . It's essentially string manipulation using split(), forEach(), charAt, substring and some concatenation.