Maximum Sum of Three Non-adjacent Elements

Company: Wipro-Project engineer-on campus_23may

Difficulty: medium