Index

images A

Anagrams, 212

Arrays.sort in O(nlogn) time, 202

images B

Backtracking

definition, 90

robot move

C++ code, 934

source code, 94

test cases, 94

string path in matrix

C++ code, 912

source code, 92

test cases, 92

Bidirectional communication, 220

Big numbers as strings

function to add two arbitrary positive integers, 1201, 123

simulating increment on a string, 1189

simulating permutation, 120

source code, 120

test cases, 120

underestimating complexity, 117

Binary search algorithm

on a diagonal, 3840

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.