Tag Exact-Matched Sources in a Document and Provide Citations
Problem: Wrap exact-matched sources in <yellow> tags and output citations
Given a text document and a list of strings sources, you need to wrap every occurrence of any source that appears ...
Example
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Standard Input
Execution Result:
