From bb32390bc70179e80c8ab317c39b543d3e813244 Mon Sep 17 00:00:00 2001 From: Vinay Sharma Date: Tue, 14 Apr 2026 14:27:56 -0400 Subject: [PATCH 1/5] add test cases to biggerTwo --- list_1_indexing/bigger-two/io.json | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/list_1_indexing/bigger-two/io.json b/list_1_indexing/bigger-two/io.json index faf3b441..d3b6c3db 100644 --- a/list_1_indexing/bigger-two/io.json +++ b/list_1_indexing/bigger-two/io.json @@ -18,5 +18,29 @@ { "input": [[7, 2], [3, 6]], "output": [7, 2] + }, + { + "input": [[-5, 3], [-4, 6]], + "output": [-4, 6] + }, + { + "input": [[0, 0], [0, 0]], + "output": [0, 0] + }, + { + "input": [[-10, -20], [-5, -30]], + "output": [-10, -20] + }, + { + "input": [[9, -9], [4, -4]], + "output": [9, -9] + }, + { + "input": [[2, 2], [1, 3]], + "output": [2, 2] + }, + { + "input": [[-1, 1], [0, 0]], + "output": [-1, 1] } ] From 43a262ea3e5404d52f9906ce7c4ca25905cecf3c Mon Sep 17 00:00:00 2001 From: Vinay Sharma Date: Tue, 14 Apr 2026 14:43:12 -0400 Subject: [PATCH 2/5] add testcases for double 23 --- list_1_indexing/double-23/io.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/list_1_indexing/double-23/io.json b/list_1_indexing/double-23/io.json index f4704ced..e3adbf60 100644 --- a/list_1_indexing/double-23/io.json +++ b/list_1_indexing/double-23/io.json @@ -18,5 +18,21 @@ { "input": [[2]], "output": false + }, + { + "input": [[0]], + "output": false + }, + { + "input": [[100, 3]], + "output": false + }, + { + "input": [[-2, -2]], + "output": false + }, + { + "input": [[-3, -3]], + "output": false } ] From 34daa9dfa479aa0d6cf893e78cdc35899b6a003c Mon Sep 17 00:00:00 2001 From: Vinay Sharma Date: Tue, 14 Apr 2026 16:17:50 -0400 Subject: [PATCH 3/5] add and fix testcases for list-1 problems --- list_1_indexing/fix-23/io.json | 12 ++++++++++++ list_1_indexing/make-ends/io.json | 4 ++++ list_1_indexing/make-fibonacci/io.json | 12 ++++++++++++ list_1_indexing/max-of-three/io.json | 12 ++++++++++++ list_1_indexing/plus-two/io.json | 8 ++++++++ list_1_indexing/return-middle-two/io.json | 8 ++++++++ list_1_indexing/start-one/io.json | 12 ++++++++++++ list_1_indexing/sum-first-two/io.json | 12 ++++++++++++ list_1_indexing/swap-ends/io.json | 8 ++++++++ 9 files changed, 88 insertions(+) diff --git a/list_1_indexing/fix-23/io.json b/list_1_indexing/fix-23/io.json index d95c0a6e..fff9f71a 100644 --- a/list_1_indexing/fix-23/io.json +++ b/list_1_indexing/fix-23/io.json @@ -18,5 +18,17 @@ { "input": [[3, 2, 3]], "output": [3, 2, 0] + }, + { + "input": [[2, 3, 2]], + "output": [2, 0, 2] + }, + { + "input": [[3, 3, 2]], + "output": [3, 3, 2] + }, + { + "input": [[-2, -2, 3]], + "output": [-2, -2, 3] } ] diff --git a/list_1_indexing/make-ends/io.json b/list_1_indexing/make-ends/io.json index 1c55c0da..fde1a6e8 100644 --- a/list_1_indexing/make-ends/io.json +++ b/list_1_indexing/make-ends/io.json @@ -18,5 +18,9 @@ { "input": [[42]], "output": [42, 42] + }, + { + "input": [[-1, -2, -3]], + "output": [-1, -3] } ] diff --git a/list_1_indexing/make-fibonacci/io.json b/list_1_indexing/make-fibonacci/io.json index e4f22987..d6657771 100644 --- a/list_1_indexing/make-fibonacci/io.json +++ b/list_1_indexing/make-fibonacci/io.json @@ -1,4 +1,16 @@ [ + { + "input": [0], + "output": [] + }, + { + "input": [1], + "output": [0] + }, + { + "input": [2], + "output": [0, 1] + }, { "input": [5], "output": [0, 1, 1, 2, 3] diff --git a/list_1_indexing/max-of-three/io.json b/list_1_indexing/max-of-three/io.json index 9ebccee5..1960ca4b 100644 --- a/list_1_indexing/max-of-three/io.json +++ b/list_1_indexing/max-of-three/io.json @@ -18,5 +18,17 @@ { "input": [[2, 4, 1, 3, 7]], "output": 7 + }, + { + "input": [[1, 9, 2]], + "output": 9 + }, + { + "input": [[5, 1, 5]], + "output": 5 + }, + { + "input": [[-10, -2, -3]], + "output": -2 } ] diff --git a/list_1_indexing/plus-two/io.json b/list_1_indexing/plus-two/io.json index 6c9ceaf8..b80ece1f 100644 --- a/list_1_indexing/plus-two/io.json +++ b/list_1_indexing/plus-two/io.json @@ -18,5 +18,13 @@ { "input": [[], [1, 2, 3]], "output": [1, 2, 3] + }, + { + "input": [[1, 2, 3], []], + "output": [1, 2, 3] + }, + { + "input": [[], []], + "output": [] } ] diff --git a/list_1_indexing/return-middle-two/io.json b/list_1_indexing/return-middle-two/io.json index 2e457be4..b648bd58 100644 --- a/list_1_indexing/return-middle-two/io.json +++ b/list_1_indexing/return-middle-two/io.json @@ -18,5 +18,13 @@ { "input": [[2, 4, 6, 8, 10, 12]], "output": [6, 8] + }, + { + "input": [[9, 8, 7, 6, 5, 4, 3, 2]], + "output": [6, 5] + }, + { + "input": [[-2, -1, 0, 1]], + "output": [-1, 0] } ] diff --git a/list_1_indexing/start-one/io.json b/list_1_indexing/start-one/io.json index 60959be8..9dbb433d 100644 --- a/list_1_indexing/start-one/io.json +++ b/list_1_indexing/start-one/io.json @@ -18,5 +18,17 @@ { "input": [[], [1]], "output": 1 + }, + { + "input": [[], []], + "output": 0 + }, + { + "input": [[1], [1]], + "output": 2 + }, + { + "input": [[9], []], + "output": 0 } ] diff --git a/list_1_indexing/sum-first-two/io.json b/list_1_indexing/sum-first-two/io.json index d12a5cb5..69e53274 100644 --- a/list_1_indexing/sum-first-two/io.json +++ b/list_1_indexing/sum-first-two/io.json @@ -18,5 +18,17 @@ { "input": [[-1, 3]], "output": 2 + }, + { + "input": [[0, 0, 5]], + "output": 0 + }, + { + "input": [[-5, -10, -1]], + "output": -15 + }, + { + "input": [[-7]], + "output": -7 } ] diff --git a/list_1_indexing/swap-ends/io.json b/list_1_indexing/swap-ends/io.json index 050621ac..d54c40c2 100644 --- a/list_1_indexing/swap-ends/io.json +++ b/list_1_indexing/swap-ends/io.json @@ -18,5 +18,13 @@ { "input": [[2, 4]], "output": [4, 2] + }, + { + "input": [[0, 1, 0]], + "output": [0, 1, 0] + }, + { + "input": [[-1, -2, -3, -4, -5]], + "output": [-5, -2, -3, -4, -1] } ] From 1ac4efe8f42b59b2edb9d08204189fd8dbdacc2c Mon Sep 17 00:00:00 2001 From: Vinay Sharma Date: Tue, 14 Apr 2026 17:36:52 -0400 Subject: [PATCH 4/5] make function header be snake case --- list_1_indexing/bigger-two/meta.json | 2 +- list_1_indexing/bigger-two/starter.py | 2 +- list_1_indexing/double-23/meta.json | 2 +- list_1_indexing/double-23/starter.py | 2 +- list_1_indexing/fix-23/meta.json | 2 +- list_1_indexing/fix-23/starter.py | 2 +- list_1_indexing/max-of-three/meta.json | 2 +- list_1_indexing/max-of-three/starter.py | 2 +- list_1_indexing/plus-two/meta.json | 2 +- list_1_indexing/plus-two/starter.py | 2 +- list_1_indexing/return-middle-two/meta.json | 2 +- list_1_indexing/return-middle-two/starter.py | 2 +- list_1_indexing/start-one/meta.json | 2 +- list_1_indexing/start-one/starter.py | 2 +- list_1_indexing/swap-ends/meta.json | 2 +- list_1_indexing/swap-ends/starter.py | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/list_1_indexing/bigger-two/meta.json b/list_1_indexing/bigger-two/meta.json index 522c5679..8be4e23e 100644 --- a/list_1_indexing/bigger-two/meta.json +++ b/list_1_indexing/bigger-two/meta.json @@ -1,6 +1,6 @@ { "title": "Bigger Two", - "name": "biggerTwo", + "name": "bigger_two", "difficulty": "easy", "author": "ChatGPT", "category": "List-1: Indexing", diff --git a/list_1_indexing/bigger-two/starter.py b/list_1_indexing/bigger-two/starter.py index f2d42ef8..9177a96f 100644 --- a/list_1_indexing/bigger-two/starter.py +++ b/list_1_indexing/bigger-two/starter.py @@ -1,5 +1,5 @@ from typing import List -def biggerTwo(a: List[int], b: List[int]) -> List[int]: +def bigger_two(a: List[int], b: List[int]) -> List[int]: # Your code here pass diff --git a/list_1_indexing/double-23/meta.json b/list_1_indexing/double-23/meta.json index 60ed9b2b..b1855274 100644 --- a/list_1_indexing/double-23/meta.json +++ b/list_1_indexing/double-23/meta.json @@ -1,6 +1,6 @@ { "title": "Double 23", - "name": "double23", + "name": "double_23", "difficulty": "easy", "author": "ChatGPT", "category": "List-1: Indexing", diff --git a/list_1_indexing/double-23/starter.py b/list_1_indexing/double-23/starter.py index 44b109a9..039a02d9 100644 --- a/list_1_indexing/double-23/starter.py +++ b/list_1_indexing/double-23/starter.py @@ -1,5 +1,5 @@ from typing import List -def double23(nums: List[int]) -> bool: +def double_23(nums: List[int]) -> bool: # Your code here pass diff --git a/list_1_indexing/fix-23/meta.json b/list_1_indexing/fix-23/meta.json index 5bb5b275..d3a0e625 100644 --- a/list_1_indexing/fix-23/meta.json +++ b/list_1_indexing/fix-23/meta.json @@ -1,6 +1,6 @@ { "title": "Fixed 23", - "name": "fix23", + "name": "fix_23", "difficulty": "easy", "author": "ChatGPT", "category": "List-1: Indexing", diff --git a/list_1_indexing/fix-23/starter.py b/list_1_indexing/fix-23/starter.py index 14cf8768..8e5ae51b 100644 --- a/list_1_indexing/fix-23/starter.py +++ b/list_1_indexing/fix-23/starter.py @@ -1,5 +1,5 @@ from typing import List -def fix23(nums: List[int]) -> List[int]: +def fix_23(nums: List[int]) -> List[int]: # Your code here pass diff --git a/list_1_indexing/max-of-three/meta.json b/list_1_indexing/max-of-three/meta.json index 98bb8d62..40908e4b 100644 --- a/list_1_indexing/max-of-three/meta.json +++ b/list_1_indexing/max-of-three/meta.json @@ -1,6 +1,6 @@ { "title": "Max of Three", - "name": "maxOfThree", + "name": "max_of_three", "difficulty": "easy", "author": "ChatGPT", "category": "List-1: Indexing", diff --git a/list_1_indexing/max-of-three/starter.py b/list_1_indexing/max-of-three/starter.py index 5111a7e4..997b6e7b 100644 --- a/list_1_indexing/max-of-three/starter.py +++ b/list_1_indexing/max-of-three/starter.py @@ -1,5 +1,5 @@ from typing import List -def maxOfThree(nums: List[int]) -> int: +def max_of_three(nums: List[int]) -> int: # Your code here pass diff --git a/list_1_indexing/plus-two/meta.json b/list_1_indexing/plus-two/meta.json index 40b14d9f..3dfb113e 100644 --- a/list_1_indexing/plus-two/meta.json +++ b/list_1_indexing/plus-two/meta.json @@ -1,6 +1,6 @@ { "title": "Plus Two", - "name": "plusTwo", + "name": "plus_two", "difficulty": "easy", "author": "ChatGPT", "category": "List-1: Indexing", diff --git a/list_1_indexing/plus-two/starter.py b/list_1_indexing/plus-two/starter.py index ec684bb3..8ffecec4 100644 --- a/list_1_indexing/plus-two/starter.py +++ b/list_1_indexing/plus-two/starter.py @@ -1,5 +1,5 @@ from typing import List -def plusTwo(a: List[int], b: List[int]) -> List[int]: +def plus_two(a: List[int], b: List[int]) -> List[int]: # Your code here pass diff --git a/list_1_indexing/return-middle-two/meta.json b/list_1_indexing/return-middle-two/meta.json index 1921aeb3..90f7c4fc 100644 --- a/list_1_indexing/return-middle-two/meta.json +++ b/list_1_indexing/return-middle-two/meta.json @@ -1,6 +1,6 @@ { "title": "Middle Two", - "name": "middleTwo", + "name": "middle_two", "difficulty": "easy", "author": "ChatGPT", "category": "List-1: Indexing", diff --git a/list_1_indexing/return-middle-two/starter.py b/list_1_indexing/return-middle-two/starter.py index 0dd36803..3fdf4035 100644 --- a/list_1_indexing/return-middle-two/starter.py +++ b/list_1_indexing/return-middle-two/starter.py @@ -1,5 +1,5 @@ from typing import List -def middleTwo(nums: List[int]) -> List[int]: +def middle_two(nums: List[int]) -> List[int]: # Your code here pass diff --git a/list_1_indexing/start-one/meta.json b/list_1_indexing/start-one/meta.json index de7249da..4da45a24 100644 --- a/list_1_indexing/start-one/meta.json +++ b/list_1_indexing/start-one/meta.json @@ -1,6 +1,6 @@ { "title": "Start 1", - "name": "start1", + "name": "start_1", "difficulty": "easy", "author": "ChatGPT", "category": "List-1: Indexing", diff --git a/list_1_indexing/start-one/starter.py b/list_1_indexing/start-one/starter.py index 154bc136..3f495815 100644 --- a/list_1_indexing/start-one/starter.py +++ b/list_1_indexing/start-one/starter.py @@ -1,5 +1,5 @@ from typing import List -def start1(a: List[int], b: List[int]) -> int: +def start_1(a: List[int], b: List[int]) -> int: # Your code here pass diff --git a/list_1_indexing/swap-ends/meta.json b/list_1_indexing/swap-ends/meta.json index 589f48cf..e1f5167e 100644 --- a/list_1_indexing/swap-ends/meta.json +++ b/list_1_indexing/swap-ends/meta.json @@ -1,6 +1,6 @@ { "title": "Swap Ends", - "name": "swapEnds", + "name": "swap_ends", "difficulty": "easy", "author": "ChatGPT", "category": "List-1: Indexing", diff --git a/list_1_indexing/swap-ends/starter.py b/list_1_indexing/swap-ends/starter.py index 01194d7a..cd61fcb3 100644 --- a/list_1_indexing/swap-ends/starter.py +++ b/list_1_indexing/swap-ends/starter.py @@ -1,5 +1,5 @@ from typing import List -def swapEnds(nums: List[int]) -> List[int]: +def swap_ends(nums: List[int]) -> List[int]: # Your code here pass From 450015c9d5277f611091baab1971790e807ac55a Mon Sep 17 00:00:00 2001 From: Vinay Sharma Date: Tue, 14 Apr 2026 17:41:16 -0400 Subject: [PATCH 5/5] add more test cases to double-23 --- list_1_indexing/double-23/io.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/list_1_indexing/double-23/io.json b/list_1_indexing/double-23/io.json index e3adbf60..7991dda6 100644 --- a/list_1_indexing/double-23/io.json +++ b/list_1_indexing/double-23/io.json @@ -34,5 +34,13 @@ { "input": [[-3, -3]], "output": false + }, + { + "input": [[20, 30]], + "output": false + }, + { + "input": [[22, 33]], + "output": false } ]