didn’t understood the question itself ???
what to do
do we have to simply copy paste the hash function and find the values ???
didn’t understood the question itself ???
what to do
do we have to simply copy paste the hash function and find the values ???
the logic of hashfunction is given to you
now for given array you have to generate hashkey using the same logic(which is given)
you can do that but it leads to TLE
because the code give is not efficent
you have to think the alternative way to achieve the same
which should be effiecent
you can use Reference Code for better understanding
but first try yourself
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.