Under the public eye, a troubled detective races to solve a series of high-profile murders that are "predicted" when published online.