Write a Python program at /app/interval store.py that implements a persistent interval index. The program is…
Write a Python program at /app/interval store.py that implements a persistent interval index. The program is…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input format (text file, encoding UTF-8, Unix line endings LF): - First line: a positive integer N (1 <= N…
The task
Input format (text file, encoding UTF-8, Unix line endings LF): - First line: a positive integer N (1 <= N <= 10^6), the number of intervals to read. - Next N lines: each contains start end value, separated by a single space. start and end are integers, start <= end. value is a non-empty string without spaces.…
Part of ai-and/termgrade-environments.