Loading
notes intro/old submit AP Problems the dump links
 

Password search

 

Now the passwords, here is starting project. are the sorted list. Write these methods.:

 

  • linary and binary search
  • public int findHowMany (String yourPassword) that will return how many of the list are yourPassword
  • public void findTop(int howMany) this will print all passwords that have been used howMany times
  • public void findAllDerivatives(String word) that will print all the passwords that contain word and how many of each there are. So if they put hello; it might say helloDude - 4 and so on.
  • Advanced public void findTopHundred() that will print the top 100 passwords sorted (so the password used the most is first) with what percent of the time each is used.