Rick Fox at UNC
Superstar
the first thing you might want to comment on is that it should be written in c++. or better said COMPILED with a c++ compiler, written in c-like c++/
i don't think that would be what they are looking for. they would want you to explain how the c code presents efficiencies that python does not. memory management, pointers, contiguous values ...
which would be missing the efficiency point of the question.
no they are not. memory references are something which the industry has "in modern times" tried to get rid of. certainly memory references that are entirely the responsibility and control of the programmer.
pointers are a "foundational aspect" of legacy and ultra low level programming.
I brought up pointers because the poster mentioned them. And they are foundational. I can't imagine saying, "yea, I don't know about pointers because "modern times" don't demand I know about them." Even if that is the case, you prove you have an understanding AND THEN you discuss how "modern programming" (the term "modern" is sketchy here) is moving away from manual pointers, garbage collection, and so on. And then discuss why.
None of this is about what I think is right or wrong, it is about how to effectively interview at a higher level.

