It is not erasing the key . Check the erase function .
Erase in Hashtable
@anishanand3733 its working fine just print after erasing you are printing before.
dont forget to hit like and mark resolved if cleared 
1 Like
Oh sorry…My bad
. Thanks