|
| 1 | +# [9th problem in the 30-Days-of-Code-Hackerrank Challenge](https://www.hackerrank.com/challenges/30-dictionaries-and-maps/problem?isFullScreen=true) |
| 2 | +## This repository contains the codes, I have been submitting in the 30 Days of Code program by Hackerrank. |
| 3 | + |
| 4 | +## Task |
| 5 | +Given ```n``` names and phone numbers, assemble a phone book that maps friends' names to their respective phone numbers. You will then be given an unknown number of names to query your phone book for. For each ```name``` queried, print the associated entry from your phone book on a new line in the form ```name=phoneNumber```; if an entry for ```name``` is not found, print ```Not found``` instead. |
| 6 | + |
| 7 | +Note: Your phone book should be a Dictionary/Map/HashMap data structure. |
| 8 | + |
| 9 | + |
| 10 | +The problem should follow the following format: |
| 11 | +<img src="https://github.com/AdityaSeth777/30-Days-of-Code-Hackerrank/blob/main/8%20-%20Dictionaries%20and%20Maps/8%20day.png"> |
| 12 | + |
| 13 | +## Explanation |
| 14 | +<img src="https://github.com/AdityaSeth777/30-Days-of-Code-Hackerrank/blob/main/8%20-%20Dictionaries%20and%20Maps/8%20day%20exp.png"> |
| 15 | + |
| 16 | +## Logic |
| 17 | +It will be updated after uploading all the required details in all the questions in the repo. |
| 18 | + |
| 19 | +## FAQ |
| 20 | +- How to stop the script? Ctrl+C (control+C for Mac) |
| 21 | +- For any other problems, feel free to raise an issue. |
| 22 | + |
| 23 | +## Contributing |
| 24 | +Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. |
| 25 | + |
| 26 | +Please make sure to update tests as appropriate. |
| 27 | + |
| 28 | +## License |
| 29 | +[MIT License © Aditya Seth](https://github.com/AdityaSeth777/30-Days-of-Code-Hackerrank/blob/main/License) |
| 30 | + |
| 31 | +## What next ? |
| 32 | +- I will be working on completing this wonderful bunch of programs by Hackerrank, which I will be uploading as well. |
| 33 | +- Along with that, I will be uploading other programs as well including my college assignments and other projects. |
| 34 | + |
| 35 | +## Where to contact ? |
| 36 | + |
| 37 | + |
| 38 | +## 🙋♂️ Support |
| 39 | + |
| 40 | +💙 If you like this project, give it a ⭐ and share it with friends!<br><br> |
| 41 | +[☕ Buy me a coffee](https://www.buymeacoffee.com/adityaseth) |
| 42 | + |
| 43 | +--- |
| 44 | + |
| 45 | +Made with ❤️ and C, C++, Python, Ruby, and Kotlin. <br><br> |
0 commit comments