{"blocks": [{"key": "757cd9b8", "text": "Question", "type": "header-two", "depth": 0, "inlineStyleRanges": [], "entityRanges": [], "data": {}}, {"key": "e961818f", "text": "Design a log management system that (1) keeps the total number of logs ≤ total_max, (2) automatically deletes the least important or oldest logs when adding new ones to stay within limits, and (3) locates logs to delete in O(1) time using appropriate data structures (e.g., time-ordered deque plus priority heap).", "type": "unstyled", "depth": 0, "inlineStyleRanges": [], "entityRanges": [], "data": {}}], "entityMap": {}}