Counting Strategy


Mapping letters to numbers!

Given a website name, e.g., apple, generate your password as follows:

  1. Start at the first letter of apple, ( a ).
  2. Find the first occurrence of the letter in in-star-mode and output the corresponding number. If the letter is not found in your letter sequence, output the wildcard. This is the first digit of your password. ( a --> 5 ).
  3. Repeat on the remaining letters of apple till you reach the end. ( apple --> 54440 )
  4. Attach your ending: apple --> 54440aB! This is your password!

Practice on Your Own!

Enter your reponse below and make sure to append your string (aB!) to the end of each response


Generate your own key!