notes and code for hack reactor interview