4 ms·Or with a hash-table lookup, left as an exercise to the reader.by db48x 10y agoOr with a hash-table lookup, left as an exercise to the reader.