Use the delete () function to delete an entry. It requires a map and the corresponding key that has to be deleted.
BY Best Interview Question ON 13 Jan 2019