Parse and Format a Hierarchical Task CSV
Given CSV records describing a hierarchy of tasks, parse the records and print each task ID and task name as a formatted tree.
Each record has one of the following forms:
- Root task: `timestamp,tas...
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:
