Index
A
Anagrams, 212
Arrays.sort in O(nlogn) time, 202
B
Backtracking
definition, 90
robot move
source code, 94
test cases, 94
string path in matrix
source code, 92
test cases, 92
Bidirectional communication, 220
Big numbers as strings
function to add two arbitrary positive integers, 120–1, 123
simulating increment on a string, 118–9
simulating permutation, 120
source code, 120
test cases, 120
underestimating complexity, 117
Binary search algorithm
Java code, 37
partially sorted matrix, 40–
Get Coding Interviews: Questions, Analysis & Solutions now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.