Available question text
Given a string s and parallel arrays indices, sources, and targets, perform all replacements simultaneously: for each i, if sources[i] matches s starting at indices[i], replace that substring with targets[i] (replacements are guaranteed non‑overlapping). Return the resulting string.
Related questions
Continue with questions that share topics or the same question type.
- Find All Anagrams in a String
Coding · Hash Table · Sliding Window · String
- Find and Replace Pattern
Coding
- Find First Palindromic String in the Array
Coding
- Find Kth Bit in Nth Binary String
Coding
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 833. Find And Replace in String
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source