Pergunta de entrevista da empresa Fidelity Investments

Travel Directions Reduction. Given an array of characters representing the four directions, return a simplified array that gets you to the same place.

Resposta da entrevista

Sigiloso

17 de jun. de 2020

N and S cancel each other out, so do E an d W.