hackerrank solutions in c pdf