Daily challenge for 2025-04-26
116. Find Pivot Index
Write a function solve that finds the pivot index where the sum of elements to the left equals the sum to the right, or -1 if none exists.
Example:Input: [1,7,3,6,5,6]Output: 3
Run this challenge interactively in Python or JavaScript when the app loads.