Leetcode 3165. Maximum Sum of Subsequence With Non-adjacent Elements | Hello Interview