{"blocks": [{"key": "92bfde8d", "text": "Scenario", "type": "header-two", "depth": 0, "inlineStyleRanges": [], "entityRanges": [], "data": {}}, {"key": "05ab3b71", "text": "During the technical screen, candidates must implement interval algorithms used in fraud-detection pipelines to reconcile overlapping user activity windows.", "type": "unstyled", "depth": 0, "inlineStyleRanges": [], "entityRanges": [], "data": {}}, {"key": "6b74e4c9", "text": "Question", "type": "header-two", "depth": 0, "inlineStyleRanges": [], "entityRanges": [], "data": {}}, {"key": "2159b354", "text": "Given a list of login sessions for a single user, each as [start_time, end_time], determine if any sessions overlap. 2. If overlaps exist, return the minimal set of session IDs to remove so that the remaining sessions are non-overlapping while maximizing total covered time.", "type": "unordered-list-item", "depth": 0, "inlineStyleRanges": [], "entityRanges": [], "data": {}}, {"key": "1ce0d6d8", "text": "Hints", "type": "header-two", "depth": 0, "inlineStyleRanges": [], "entityRanges": [], "data": {}}, {"key": "2b1a2211", "text": "Sort intervals, track previous end; greedy removal similar to ‘Non-overlapping Intervals’.", "type": "unstyled", "depth": 0, "inlineStyleRanges": [], "entityRanges": [], "data": {}}], "entityMap": {}}