Java Replace First Occurrence Leetcode 75 Problems With Revocable Living