Glossary: Coding Interviews in Java
Target Big-O
The speed your solution must reach, chosen from the input size in the constraints. About 1,000 items allows O(n²), but a million needs O(n log n) or O(n).
Glossary: Coding Interviews in Java
The speed your solution must reach, chosen from the input size in the constraints. About 1,000 items allows O(n²), but a million needs O(n log n) or O(n).