摘要: Given a set of n symbols a size k and a combination of length k of non repeating characters from the symbol set. Write only an ITERATIVE algorithm to print the next unique combination.Ex: Symbols =[1,2,3,4,5] size = 3; given combination = 123, result = 124 given combination = 254, result = 312Q:提供一个 阅读全文
posted @ 2011-12-23 17:11 百分百好牛 阅读(279) 评论(0) 推荐(0) 编辑