When someone does donuts in the parking lot it means it took a lot of quick thinking to come up with that solution. In which case, is stated when someone makes a bizarre statement or comment on certain situations.
‘he really did donuts in the parking lot to come to that conclusion, didn’t he?”