Hacker News new | ask | show | jobs
by WesternStar 3585 days ago
Looks like your insert function is missing an else . You're creating a new node when each time you find an existing node in the map.
1 comments

thanks. fixed