hackkerank problem solutions