A public digital garden documenting my journey through bugs, features, and the chaotic beauty of web development.
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.
Bubble sort can be implemented as follows: