← Back to context

Comment by throwaway2037

3 years ago

I like this kind of answer. You are trying to be the leetcode alternative, which I fully support. I have previously written on HN about my most common interview programming question: "Please implement the classic C function atoi() in any language of your choice. Do not use built-in string-to-number functions." This question has a lot of edge cases, but it is simple enough to program on whiteboard, paper, text editor, weird-IDE-that-I-never-used-before-this-interview(!). The questions that people ask and how they explain their solution says a lot about them as engineers.

i would call that leetcode style i guess i have a broader interpretation than what most people have in mind. it's more easily memorized IMO than traditional leetcode - atoi and std::string class are very common questions nowadays.