Phonebook
CodeChefOpen on judge ↗
We're going to make our own Phonebook application! The application must perform two types of operations: 1. add name, where name is a string denoting a contact name. This must store name as a new contact in the application. 2. find partial, where partial is a string denoting a partial name to search the application for. It must count the number of contacts starting with partial and print the count
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