CSV Keyword Line and Position Matching

Given a string in CSV format and a keyword, return the line number of each line containing the keyword, along with the position within the line.

Example:

Input:
CSV = "id,name,age\n1,John Doe,23...

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: