some algorithm notes