Sherlock and Array

  • + 0 comments

    This code gives 'YES' for the following input. But there is no index to satisfy the condition. The right answer should be "NO". 1 4 1 1 1 1