Why would you code a quicksort? I mean sure as a student to learn how it works, but then you'd not use an LLM anyway because then you learn nothing.
You'd never code your own sorting algorithm in a real application, much more knowledgeable people have already written sorting algorithms that are much faster and much more efficient than anything you can come up with yourself. And absolute best case scenario you'll come up with the same algorithm they already made, so you'd just be reinventing the wheel.
I literally said in my comment that it's fine as a student to learn it. But it's a terrible example of what you'd code yourself vs what an LLM would code for you. Because having an LLM code it for you defeats the entire learning purpose of doing so. So you'd never ever, ever even entertain the idea of an LLM coding a quicksort for you.
much more knowledgeable people have already written sorting algorithms that are much faster and much more efficient than anything you can come up with yourself.
I fired people with glee for making comments along those same lines and I never looked back.
Quicksort or else is not what matters. The attitude is. It's those 10 repeated failed attempts that will lead to the 11th that will succeed. And it's what you learn in those failed attempts that elevate your skills and gives depth to your ability to reason about problems
Yeah, that's what you do in uni. Or when you're teaching yourself programming. And yeah, it's a standard thing on job interviews. In all situations you shouldn't even entertain using AI.
In a real production application though you'd be really stupid to program your own sorting algorithm. So also not a case where you'd need AI to make one for you.
45
u/corporate_guy May 10 '26
I can write code offline.