3 ms·
Easy to modify that function to do the final loop in the other order and then not need the sort afterward. I saw ChatGPT make that mistake a few times - it real
by yourfriendben 3y ago
Easy to modify that function to do the final loop in the other order and then not need the sort afterward. I saw ChatGPT make that mistake a few times - it really wants to satisfy the requirement that they are in descending order by doing a sort at the end.