← All problemsSign in

Implement an Email system using Queues

Your task is to implement the following email system using queue data structure. The emailsystem consists of set of users and each user has one mailbox. The user is specified by username and id. Id is the index of the user in the user list. The user can send a message to another user. The user can view the list of messages from particular user and can also see the sorted list of messages.

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start