pith. sign in

arxiv: 2502.15770 · v2 · pith:HBBRERYYnew · submitted 2025-02-16 · 💻 cs.SE · cs.AI

Performance Review on LLM for solving leetcode problems

classification 💻 cs.SE cs.AI
keywords leetcodellmsperformancesolutionsgeneratedproblemsprogrammingsolving
0
0 comments X
read the original abstract

This paper presents a comprehensive performance evaluation of Large Language Models (LLMs) in solving programming challenges from Leetcode, a widely used platform for algorithm practice and technical interviews. We began by crawling the Leetcode website to collect a diverse set of problems encompassing various difficulty levels and topics. Using this dataset, we generated solutions with multiple LLMs, including GPT-4 and GPT-3.5-turbo (ChatGPT-turbo). The generated solutions were systematically evaluated for correctness and efficiency. We employed the pass@k metric to assess the success rates within a given number of attempts and analyzed the runtime performance of the solutions. Our results highlight the strengths and limitations of current LLMs [10] in code generation and problem-solving tasks, providing insights into their potential applications and areas for improvement in automated programming assistance.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. On the Stability of Prompt Ranking in Large Language Model Evaluation

    cs.CL 2026-06 unverdicted novelty 4.0

    Prompt rankings for LLMs show moderate overall correlation but frequent changes in the top prompt under random seeds and limited subsets; a lower-confidence-bound selection strategy improves robustness.