Pergunta de entrevista da empresa Shopify

Simplify a filepath in a unix system.

Resposta da entrevista

Sigiloso

12 de jul. de 2023

Iterate the loop till you doesn't reaches the end of string. If you encounter a "/" then ignore it.