Question: Find the index locations of multiple matches to a string using binary search (Java).
For example:
The red rabbit ran around the red car.
When I search for "red", i need it to print out both indexes for red, not just the most current one
Be sure to add comments and comments should be included to explain your program.