Implement a command-line tool /app/query that builds an interval tree from a CSV file and answers point…
Implement a command-line tool /app/query that builds an interval tree from a CSV file and answers point…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input format: - The tool reads a CSV file specified as the first argument. The CSV has no header row. - Each…
The task
**Input format:** - The tool reads a CSV file specified as the first argument. The CSV has no header row. - Each row has exactly 3 fields: `id,start,end` - `id` is a non-empty ASCII string (may contain letters, digits, underscores, hyphens). - `start` and `end` are integers. `start` is inclusive, `end` is exclusive.…
Part of ai-and/termgrade-environments.