Leetcode Problem On Array Behavioral Care