some algorithm question for practice