Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
WesternStar
· 10y ago · 0 comments
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.
Comments
[–]
mohaps
10y ago
thanks. fixed