Skip to main content

7 docs tagged with "Ordered Set"

View all tags

Exam Room

Design a class ExamRoom that simulates an exam room where students sit to maximize their distance from others, and includes methods for a student to take the optimal seat and to leave a specified seat.

LFU Cache

This is a solution to the LFU Cache problem on LeetCode.