AMAdesayo M Labaekainindentsandcolons.hashnode.dev·May 27, 2025 · 6 min readKadane's Algorithm: The Complete Guide To Starting NewThe maximum subarray problem is a perfect example of how a seemingly simple problem can require much deeper thinking than you'd first expect. Here's what we're dealing with: you have a sequence of numbers in an array, some positive, some negative. Ho...00
AMAdesayo M Labaekainindentsandcolons.hashnode.dev·May 14, 2025 · 4 min readStep-by-Step Solution to LeetCode 2765: Longest Alternating SubarrayIt’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 ...00
AMAdesayo M Labaekainindentsandcolons.hashnode.dev·May 4, 2025 · 2 min readMy Imperfect Path to Mastering Algorithms: Trading Perfection for MomentumI’ve been stuck in a limbo. I have always struggled with perfection and discomfort with abstraction, and sometimes I find myself doing a classic recursive child dialogue tree, asking 'why' and 'how' over and over again, with each answer spawning more...00