Pergunta de entrevista da empresa TikTok

Code a calculator algorithm with mathematic inputs.