Sorry i shared the code ((

I am asking the same doubt here, why doesn’t dosa show in the hashmap after it has been added in the program?

this is the link – https://ide.codingblocks.com/s/645495

i have doubt in the operator function

this is the link to the cpp code where i am using this file https://ide.codingblocks.com/s/645496

 T *search(string key)
    {
        int idx = hashfn(key);
        node<T> *temp = table[idx];
        while (temp != NULL)
        {
            if (temp->key == key)
            {
                return &temp->value;
            }
        }
        return NULL;
    }

here inside while loop you forgot to move temp ahead
temp = temp->next;