Hacker News new | ask | show | jobs
by evanb 4505 days ago
It's actually 2(n-1), because the designated switch can start in either state.