I publish and maintain dozens of open source packages that are downloaded millions of times per year and I couldn’t off the top of my head implement a bubble sort. Because why the heck would I ever do that?
The point is that LeetCode does not test the actual skill set of writing useful code, it tests how much you’ve grinded LeetCode.