[s2e6] Homicide -
The episode's comedic peak is the "SWOT analysis" conducted by Gilfoyle and Dinesh. After discovering a fatal mathematical error in a stunt driver's trajectory, they use a formal business framework to weigh the "Strengths, Weaknesses, Opportunities, and Threats" of letting him die versus saving him.
Lt. Joe Kenda covers the case of a young mother killed in broad daylight in California, leading detectives across international borders. [S2E6] Homicide
If you were referring to a different series, here are the likely candidates: The episode's comedic peak is the "SWOT analysis"