Skip to content

Instantly share code, notes, and snippets.

; ___ _ __ ___ __ ___
; / __|_ _ __ _| |_____ / /| __|/ \_ )
; \__ \ ' \/ _` | / / -_) _ \__ \ () / /
; |___/_||_\__,_|_\_\___\___/___/\__/___|
; An annotated version of the snake example from Nick Morgan's 6502 assembly tutorial
; on http://skilldrick.github.io/easy6502/ that I created as an exercise for myself
; to learn a little bit about assembly. I **think** I understood everything, but I may
; also be completely wrong :-)
@ianchn
ianchn / bst.js
Last active October 30, 2017 09:55
class _Node {
constructor (string, left = null, right = null) {
this.data = string
this.left = left
this.right = right
}
}
class BST {
insert (string) {