etc: check in some algorithms; interview prep