Cisco interview question

Writing DSA problems in C