Pergunta de entrevista da empresa Freshworks

given a integer number reverse the same. example: input - 123 output -321