HF RL Explorer

Task: Implement Bidirectional Lookup Structure in Redis

Task: Implement Bidirectional Lookup Structure in Redis: a task in Terminal-Lego-15k (Harbor dataset). You need to implement an ID mapping table in Redis that maintains relationships between users and lecturers. The structure should support: - Looking up a lecturer by user id (O(1) time) - Looking…

The task

You need to implement an ID mapping table in Redis that maintains relationships between users and lecturers. The structure should support: - Looking up a lecturer by user_id (O(1) time) - Looking up all users associated with a specific lecturer_id (O(1) time)

Part of PrimeIntellect/Terminal-Lego-15k.