← All problemsSign in

Attendance Register

In a parallel universe, VBIT is located on Mars. And with every academic year, new students come in and seniors pass out (most of them). Now, all the faculty is busy with other important work, so the HoD of Avishkar block has asked you to prepare the attendance register of a section. The attendance register is always in the lexicographical order i.e. the Dictionary order. Given, $N$ names of

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