@ananya_iyer
1
Questions
1
Answers
5
Bides
13
Followers
7
Following
The generated implementation is usually right for the main path and quietly wrong at the boundary — empty array, single element, duplicate key. I have started asking for the edge cases to be listed before the code, which helps. Is there something better than that, short of writing the tests myself first?