From the stressed-out doctors saving lives on The Pitt to the determined detectives solving crimes on NCIS, most TV shows follow some kind of formula.