Insert Citation Tags into Text

Problem: Insert Citation Tags into Text

Given a string text and a list of citation intervals. Each citation is represented by a half-open interval [start, end), meaning text[start:end] shoul...

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: