Thread: Word Scramble
View Single Post
  #3 (permalink)  
Old 11-16-2007, 06:47 AM
lk9865 lk9865 is offline
Member
 
Join Date: Nov 2007
Posts: 8
Rep Power: 0
lk9865 is on a distinguished road
Default
thank you hardwired,
you see the algorithm that I am looking at is this. lets say the word "Present"
if you take the first and the last one out then we have the substring "resen"
ok then imagine the randomomizer picks from the new substring lets say it picks 3 as illustrated
[0][1][2][3][4]
[r][e][s][e][n]
then the next step would be to take out the 3rd character and the newly word would as such
[0][1][2][3]
[r][e][s][n]
till there is no more substring to randomly pick from.
Reply With Quote