I've seen radix sort walk all over quicksort for common datasets many times. Knowing your dataset is at least as important as knowing the right algorithm.
Well done!
I always worry that we're just spinning our wheels. But it's great to hear that the extra effort is showing through :)
Did you write each of them yourself or is there a way to automate such simple code already?
It was important to us to not just translate our Python into C++, but to have C++ that was actually good, C++-style C++. So we hired C++ experts to do all the C++ translations. And same for the other languages.
Now, none of us are C++ experts. So how did we know if the contractors we hired were any good? That's a whoooole blog post for another time.
In short: Noah (an engineer on the team) came up with this clever system where we hired a bunch of people to translate the same code sample (as a paid trial task), then we hired a bunch of people to rate those people's translations (again, as a paid trial task). Then we hired the translator who had the best ratings, and we also hired the /rater/ who was most /thorough/--they do code reviews of the translator's code.
Some combination of:
- Did they catch stuff that the other reviewers didn't catch?
- Of the stuff they did catch, does it look to us like that's actually stuff that'll help make our code better, or is it just unhelpful pickiness?
Edit: but it'd make a good one, right?
Curious: what language do you currently use on the site? And how painful is it for you to not have Go or Rust?
(Also, you're talking about having the /content/ in those languages, right? Or supporting those languages in our code editor?)
I use Swift and Objective-C, but I've consulted InterviewCake content for every other language except PHP at some point. The sample data structures and question answers are nice code samples when I need a quick reminder for how to do basic things in languages that I don't use on a regular basis.
Not having Go or Rust isn't a big deal, if I could choose one it'd be Go. I want to learn Go for myself, and asking for a friend for Rust.
I also never use the editor on the site, I write/run the code on my machine. I never liked using the editor the few times I tried it. I see in another comment you made in this thread that a new one is coming soon, so I'm excited to try it. Any chance I could beta test? :)