HCLTech Interview Question

string buffer, hash table collision solution