A Performance Study of LLM-Generated Code on Leetcode