ABCDEFGHIJKLMNOPQRSTUVWXYZ
1
NameLeetcode NumberProblem NameDifficulty
%Accuracy on Logical Bug (Original Fn Name)
%Accuracy on Logical Bug (Anon)%Accuracy on Syntax Bug (Original Fn Name)%Accuracy on Syntax Bug (Anon)
2
Amey13Roman to IntegerEasy100.00%100%100.00%100%
3
Amey20Valid ParenthesesEasy100.00%100.00%100.00%100.00%
4
Amey26Remove Duplicates from Sorted ArrayEasy100.00%100.00%100.00%100.00%
5
Amey66Plus OneEasy100.00%100.00%100.00%100.00%
6
Amey2Add Two NumbersMedium0%100%100.00%100.00%
7
Amey5Longest Palindromic SubstringMedium100%61.90%100%62.67%
8
Amey11Container With Most WaterMedium100.00%100.00%100.00%100.00%
9
Amey153SumMedium100.00%100.00%100.00%100.00%
10
Amey4Median of Two Sorted ArraysHard100.00%100.00%100.00%100.00%
11
Amey42Trapping Rain WaterHard100.00%100.00%100.00%100.00%
12
Sangita70Climbing StairsEasy100.00%100.00%100.00%100.00%
13
Sangita88Merge Sorted ArrayEasy100.00%100.00%100.00%100.00%
14
Sangita125Valid PalindromeEasy100.00%100.00%100.00%100%
15
Sangita2215Find the Difference of Two ArraysEasy100.00%0%100.00%100.00%
16
Sangita120TriangleMedium100.00%4.50%100.00%11.36%
17
Sangita114Flatten Binary Tree to Linked ListMedium100.00%0%100.00%100.00%
18
Sangita71Simplify PathMedium7.72%7.72%100.00%100.00%
19
Sangita43Multiply StringsMedium100.00%1.90%100.00%100.00%
20
Sangita895Maximum Frequency StackHard100.00%100.00%100.00%100.00%
21
Sangita329Longest Increasing Path in a MatrixHard100.00%0%100.00%100.00%
22
Ananth581Shortest Unsorted Continuous SubarrayMedium100.00%0%100.00%100.00%
23
Ananth600Non-negative Integers without Consecutive OnesHard100.00%0.57%100.00%100.00%
24
Ananth538Convert BST to Greater TreeMedium100.00%0.93%100.00%100.00%
25
Ananth598Range Addition IIEasy100.00%1.40%100.00%100.00%
26
Ananth590N-ary Tree Postorder TraversalEasy100.00%10.00%100.00%100.00%
(assumed problem was just plain vanilla DFS
27
Ananth559Maximum Depth of N-ary TreeEasy100.00%55.20%100.00%100%
(determined missing typing of variables from comments/naming)
28
Ananth546Remove BoxesHard100.00%11.11%100.00%100.00%
29
Ananth526Beautiful ArrangementMedium100.00%6.66%100.00%100.00%
30
Ananth560Subarray Sum Equals KMedium100.00%0.00%100.00%100.00%
31
Ananth645Set MismatchEasy100.00%2.04%100.00%100.00%
32
Sangita171Excel Sheet Column NumberEasy100.00%0.00%0%100.00%
strange behavior - anonymized function performed better
33
Sangita344Reverse StringEasy100.00%100.00%100.00%100.00%
34
Sangita991Broken CalculatorMedium100.00%52.38%100.00%100.00%
35
Sangita377Combination Sum IVMedium100.00%100.00%100.00%100.00%
36
Sangita312Burst BalloonsHard0.00%0.00%100.00%100.00%
37
Amey28Find the Index of the First Occurrence in a StringEasy100.00%100.00%100.00%100.00%
38
Amey35Search Insert PositionEasy100.00%43.07%100.00%43.07%
39
Amey621Task SchedulerMedium14.00%100.00%84.10%100.00%
40
Amey525Contiguous ArrayMedium100.00%100.00%100.00%100.00%
41
Amey126Word Ladder IIHard100.00%100.00%100.00%100.00%
42
Ananth897Increasing Order Search TreeEasy2.63%2.63%100.00%100.00%
43
Ananth657Robot Return to OriginEasy100.00%28.94%100.00%100.00%
44
Ananth593Valid SquareMedium100.00%100.00%100.00%100.00%
1 leetcode solution already had suboptimal function naming & minimal comments (39.5% accuracy regardless of naming since no naming-related improvements were possible (for same problem)
45
Ananth647Palindromic SubstringsMedium15.90%15.90%100.00%100.00%
46
Ananth732My Calendar IIIHard100.00%0.00%100.00%100.00%
47
48
AVERAGES
49
87.56%51.26%97.42%95.94%
50
51
Original function name
87.28%Original function name97.42%
52
Anonymized function name
51.26%Anonymized function name95.94%
53
PROBLEMS TO FURTHER PROMPT ENGINEER ON:
54
(only anonymous logical)
55
312Burst Balloons
56
546Remove Boxes
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100