Macrosive interview question

Basic programming questions like sorting, factorial