Rehash function not working properly in my code

As sir made his own HashTable, I also coded the same in my Eclipse but I had to typecast the return values in get, remove, rehash functions. As a consequence, in the rehash function, a new Array is being formed when more elements are added but the nodes of Linked List tend to remain in the same index i.e. if there are 2 nodes before rehashing, may be 3rd node is added to the same index but it should not exceed more than 2 nodes which is not the case in my code.

I don’t know how to attach screenshot. Please tell me the procedure to add screenshot in the doubt if you need to see the screenshot.

11 hours and no response. Opting Premiere over Lite just for TA Support is waste of money

@Syed-Siddiqui-2497215583854102,
Please share your code buddy.

For screenshot, press prtscr key and do ctrl+v on the doubt portal