Hackerrank: Missing numbers