← home

Writing / 63 entries

Code, Solutions
& Discovery.

A public digital garden — bugs, breakthroughs, and the chaos of building things on the web.

↳ dsa
clear↓ newest
alldsa34python29interview26leetcode22algorithms16guide11
33
Jun 26, 2025#algorithms#arrays

Print All Zero-Sum Subarrays – From Brute-Force to Prefix Hashing

Explore how to find and print all subarrays that sum to zero using both brute-force and efficient prefix-sum + hashmap techniques in Python.

34
May 8, 2021#js#p5

Sort Visualization using p5.js

Bubble sort can be implemented as follows:

prev05 / 05next