Sciflare Technologies interview question

reverse integer without using inbuilt methods