Daily challenge for 2026-03-08
432. Maximum Sum of Distinct Pair
Given an array of integers nums, find the maximum sum of any two adjacent elements. If the array has fewer than two elements, return 0.
Example:Input: nums = [1, 5, 2, 8, 3] Output: 11 (from 8 + 3).
Run this challenge interactively in Python or JavaScript when the app loads.