Java String Replace First Occurrence Leetcode Problems 75