Leetcode 2779. Maximum Beauty of an Array After Applying Operation | Hello Interview