A public digital garden documenting my journey through bugs, features, and the chaotic beauty of web development.
Learn how to reverse an array efficiently using brute force and optimal approaches in Python and JavaScript.
Learn how to efficiently find the smallest and largest elements in an array using simple and optimal techniques in Python and JavaScript.
Learn how to rotate an array efficiently using the reverse approach in Python and JavaScript with step-by-step explanation.
Solve the classic Two Sum problem using brute-force and optimized hashing techniques, a must-know algorithm for coding interviews.
Learn how to efficiently find the longest substring with unique characters using sliding window and hashmap in Python and JavaScript.
Understand how to check for a zero-sum subarray using both brute-force and prefix sum techniques, with step-by-step code in Python and JavaScript.
Explore how to find two elements in an array that sum up to a target value using brute-force and hash map techniques in both Python and JavaScript.
Explore how to find and print all subarrays that sum to zero using both brute-force and efficient prefix-sum + hashmap techniques in Python.