Sum of Elements Greater Than Immediate Neighbors

Company: Visa_1july

Difficulty: easy