Why did the detective go to the apartment complex? So he could solve the staircase.
The Search Bar.
It's his private eye.
He had an apartment complex.
Steven Hawking after a house fire.
Stephen Hawking in a house fire.
The same way he solved all other problems: He worked it out with a pencil and paper.
With the bare-bones approach.