Pergunta de entrevista da empresa Splunk

Had phone discussion with HR. First round was coding round, the guy was from US. He asked for complex problem and one coding round. Coding was easy but don't no why I got rejected.