Restore Nalanda
CodeChefOpen on judge ↗
In the ancient Indian empire there were great institutions of learning. Biggest of them was Nalanda. It’s library boasted of having the largest collection of ancient scriptures. It was a very hectic task to search any book in such a big collection, so on suggestion of Maharshi Yashasvi, they adopted a technique of assigning an ID to every book. They also made it a convention to store books on a g
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.
Sign in to chat with the tutor and save your progress.
Sign in to start