r/codehs • • Feb 10 '21

Java Java Nitro 7.6.12 Phonebook

22 Upvotes

10 comments sorted by

View all comments

Show parent comment

1

u/mathoolevine Mar 16 '21

It’s just exactly my photo but with the change this comment or said

1

u/1agustd Mar 16 '21

hey so I tried your code, say's its wrong what do I change?

1

u/[deleted] Mar 17 '21

yeah figured it out... actually the one difference was that u said < .size() - 1 but it shouldve been < .size() or <= . size() - 1