Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Java Java Objects (Retired) Creating the MVP For Each Loop

Ryan Ruscett
Ryan Ruscett
23,309 Points

[SOLVED] word is "sreclhak" and 'e' was checked. Expecting 1 but got 2. 2 is correct. S-R-E-C-L-H-A-K

The exercise has an error in it. I can't solve it, or well I can and will but manipulating it to think it got 1 despite the correct answer which is 2.

Just an FYI.

Thanks!

1 Answer

Ryan Ruscett
Ryan Ruscett
23,309 Points

Can't delete the question, but I missed the most important part of the question which was counting the occurrences of the tiles in the string and not where IN the string the tile was.

My bad!