Pergunta de entrevista da empresa Tegus

Given an array of strings, process each one differently to do a different command. I don't remember the exact question, but it was basically like "BUY", "SELL", etc where you did different operations based on those. It was straightforward.