Solutions in C of problems on Leetcode