GlobalLogic interview question

Data Structure, Linux,C