Step-by-Step Solution to LeetCode 2765: Longest Alternating Subarray
It’s currently ‘running streak’ week for me, and I’ve been tackling problems related to the maximum subarray sum problems. Today, 14 May 2025, I tackled LeetCode problem 2765: "Longest Alternating Subarray."
Though LeetCode ranks this as "easy," I'd ...
indentsandcolons.hashnode.dev4 min read