This isn't the gotcha moment you think it is. Storing the result on disk is some stupid "erm achkually" type solution that goes against the spirit of the optimization problem.
They want to see how you handle low level optimizations, not get tripped over some question semantics.
They want to see how you handle low level optimizations, not get tripped over some question semantics.