write-ups on algorithmic techniques/tricks