Some hackerrank problems