Parse citation numbers from paragraphs and reorder/deduplicate sources by first appearance

Problem: Extract citation numbers from paragraphs and deduplicate/reorder sources by first appearance

You are given:

  • paragraphs: an array of text paragraphs. Each paragraph may contain zero or...

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: