Coding problems and solutions