The results of OpenAI's ChatGPT ran against every (non-premium) Leetcode problem.
Overall Results
Correct
722/1984
Incorrect
1262/1984
Breakdown by Difficulty
Easy
346/511
Medium
327/1024
Hard
49/449
Breakdown by Topic
Algorithm
693/1935
Database
27/45
Shell
2/4
Breakdown by Algorithm
1+
97/315
2+
77/245
3+
22/96
4+
4/23
5+
2/15
6+
1/2
7+
0/1
Array
352/1073
Backtracking
27/60
Binary Indexed Tree
2/5
Binary Search
46/167
Binary Search Tree
3/4
Binary Tree
21/35
Bit Manipulation
33/88
Brainteaser
2/7
Breadth-first Search
16/60
Bucket Sort
1/1
Combinatorics
2/7
Concurrency
1/6
Counting
15/40
Counting Sort
1/2
Data Stream
0/1
Depth-first Search
71/171
Design
24/68
Divide And Conquer
20/32
Dynamic Programming
68/324
Enumeration
4/22
Eulerian Circuit
1/3
Game Theory
1/4
Geometry
8/22
Graph
4/45
Greedy
55/214
Hash Function
0/1
Hash Table
139/365
Heap (priority Queue)
1/34
Interactive
3/3
Iterator
0/1
Line Sweep
0/3
Linked List
31/60
Math
116/344
Matrix
34/89
Memoization
3/9
Monotonic Stack
4/11
Number Theory
6/11
Ordered Set
0/6
Prefix Sum
14/49
Probability And Statistics
0/1
Queue
3/19
Randomized
2/3
Recursion
17/27
Rejection Sampling
1/2
Reservoir Sampling
1/3
Rolling Hash
1/7
Segment Tree
2/9
Shortest Path
0/4
Simulation
37/80
Sliding Window
13/47
Sorting
55/138
Stack
45/108
String
194/500
String Matching
6/10
Suffix Array
0/1
Topological Sort
0/4
Tree
77/145
Trie
2/13
Two Pointers
63/134
Union Find
1/21
Average Performance
Runtime
Memory
Breakdown of Errors
Wrong Answer
923/1262
Time Limit_exceeded
139/1262
Runtime Error
200/1262
Breakdown of Runtime Errors
Indexerror
48/200
Recursionerror
5/200
Typeerror
52/200
Zerodivisionerror
5/200
Attributeerror
10/200
Syntaxerror
20/200
You Have_an_error_in_your_sql_syntax
6/200
Nameerror
13/200
Valueerror
12/200
Keyerror
11/200
Runtimeerror
2/200
Exception
1/200
Taberror
5/200
Unboundlocalerror
5/200
Indentationerror
4/200
Stopiteration
1/200
Testcases Passed When Errored
Test Cases
34.73/109.35