Https://ide.codingblocks.com/s/266569

its just a sample code for making a hashmap why its not giving output

hello @Aditya-Kushwaha-914550392281281
image

remove this and then it should work.

still not working bhjaiya is my logic is correct ?

u are not calling ur function.

also u are never using b.in ur function.

https://ide.codingblocks.com/s/268736 whats wrong here

your logic is correct,
what issue u r facing

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.

https://ide.codingblocks.com/s/279062 i made my code but due to my format is not right it is not showing right output its giving everything right but except last comaa will u plzz corect it

@Aditya-Kushwaha-914550392281281 what is the problem you are facing?

just check my output it is right but according to question i have xtra comma in my output

@Aditya-Kushwaha-914550392281281 for removing last comma just print your output till
size -1 and print the last value without comma separately

thanx sir i solved it

@Aditya-Kushwaha-914550392281281 np just mark it resolved :smiley: