I program in C for very long time. I actually teach a course in the Technion, the most valued university in Isreal, about C and C++ programming.
I know exactly how to solve these problems in the best way, and to explain the mindset and they way of solving these kind of questions to you, if needed. I have great teaching skills, due to my occupation.