Recursive Array Sorted Check with Max Constraint | FE Prep