Coding interview questions: Leetcode in C