Questions need to be in pursuit of some goal, with different options for implementation. Usually you'll get a question with a fairly simple naive implementation with terrible performance, then other options which have more favorable worst case running time.
It might be surprising to the hackernews crew but 98% of software jobs have nothing in common with leetcode problems. Most people are writing Java, c#, JavaScript etc and using the built in data structures and doing list.Sort() or something similar.
I've never needed to use one, I can just do .OrderBy() or similar in the language I use.
Does that make me a bad developer?
I do remember Barack Obama advising against bubble sort though.