Write a function to print 1 to n without using a loop. | Nvidia Interview Question | Practice Free | SkillVee