Monthly Archives: October 2016

Generate all the strings of length n drawn from 0..k-1

Generate all the strings of length n drawn from 0..k-1

Latest Source Code:
Github: KString.java


Output:

 ----------------------------
	KString 
----------------------------
000
----------------------------
	KString 
----------------------------
000
100
010
110
001
101
011
111
----------------------------
	KString 
----------------------------
000
100
200
010
110
210
020
120
220
001
101
201
011
111
211
021
121
221
002
102
202
012
112
212
022
122
222