An algorithms notes for programming & algorithm contest use.