Guest User

Untitled

a guest
Feb 19th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. let max = characters.length - 1;
  2. while(all elements are not max) {
  3. for(i=length-1; i>=0, i--) {
  4. if(string[i] != max) {
  5. string[i]++;
  6. [listOfWords addObject:string]
  7. break;
  8. }
  9. }
  10. }
Add Comment
Please, Sign In to add comment