Microsoft interview question

Write a method that converts integers to linked lists