educative.io

Educative

Inserting elements in LinkedHashmap

I have doubt in the linkedHashMap Internal working section in the diagram showing the insertion. Are the head and tail are mapped correctly and also the after and previous node are they pointing correctly?

HI @Sachin_K_S
Thank you so much for letting us know about this issue and it has been fixed. Please do post more of such issues if you find any.
Thanks.