Pergunta de entrevista da empresa Healthmug

reverse array without using array method,highest number in array