Y
Hacker News
new
|
ask
|
show
|
jobs
by
pddpro
1897 days ago
Given that there is a fixed set of Alphabets, I would rather use Counters. It avoids for loops (the biggest source of non-efficiency in python) and is imho is much more idiomatic.