Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Most common phone interview question at Google. Parent comment
In the example case where s[0] == s[1], it might be an order of magnitude slower, if there's much object initialization for the lookup table.
There are no comments on this comment yet.
In the example case where s[0] == s[1], it might be an order of magnitude slower, if there's much object initialization for the lookup table.