java using indexof to fin a space

Solutions on MaxInterview for java using indexof to fin a space by the best coders in the world