Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
bayleo
· 17y ago · 0 comments
Given the wording of the question this is the route I would have taken; give him the engineering solution, not the comp sci solution. I guess this question has a certain merit for weeding out theorists from pragmatists.
Comments
[–]
torr
17y ago
Along similar lines, as I was reading along, I was saying to myself something like, `my %word_count; for (@words) { ++$word_count{$_} }`...