2229: Check if an Array Is Consecutive

Problem Statement