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-bandcentral-gemma4-31b-bash: TermGrade Band-Central: the 151-task selection and its splits (Harbor dataset). Input format (text file, encoding UTF-8, Unix line endings…
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.…