Encoding unit — one grounded idea

1 A naive solution involves checking all pairs with two nested loops, resulting in O(n²) time complexity.
“the simplest solution of course is just comparing every single possible pair... that would be like a way to solve it that would work uh it certainly would be time consuming”
spoken · 155s · 2016-11-07 · en-US · Life at Google · How to: Work at Google — Example Coding/Engineering Interview
id: b03aeaefe450dbda
concepts in this idea