Pergunta de entrevista da empresa Bandwidth

Typical Algorithm stuff, how I would design an elevator system, few database questions, given a number less than 1000 return the "word" form of that number.