1234. Replace the Substring for Balanced String──────────────────────────────────────────────────────────────────────1234. Replace the Substring for Balanced String