What was that one episode where

Some guy had a seizure, house thought he knew the answer and almost killed the guy, then someone says something random to him when there’s 5 mins left and he figures it out?