- 3

Write a php code to implement phone dictionary

5th Jul 2022, 6:31 AM
Jasvin Goyani
3 Respostas
+ 3
Jasvin Goyani Code related Questions must show attempts. Other wise the question incomplete and may be marked for deletion by moderation.
5th Jul 2022, 8:43 AM
Chris Coder
Chris Coder - avatar
+ 2
5th Jul 2022, 8:54 AM
Chris Coder
Chris Coder - avatar
0
$phonedictionary = array(); $phonedictionary['Emergency'] = '911'; Edit: a phone dictionary can be implemented with a simple hashmap. Key is the person, value is the call number. Query of the number is trivial. You did not write any further requirements. Chris Coder I agree that the question was incomplete, and the asker is supposed to show some effort.
5th Jul 2022, 8:25 AM
Tibor Santa
Tibor Santa - avatar