Can you tell me why my output is not coming?

hello @vageesha

what is the last function that u wrote in ur code?

It is the print function.
before using rehashing it was working properly. But when I used rehashing it is not working now.

cross check this->