An officer is recovering in the hospital after police said he was shot in the leg during a police shooting that killed the suspect in Tempe.