hackerrank artificial intelligence