You built a stack, a ring-buffer queue, and a binary min-heap in real Java, compiled entirely in your browser.