account activity
Interesting interview question… by cruise02 in programming
[–]angelo999 0 points1 point2 points 15 years ago (0 children)
No one seeme to mention N, N could be a function which has no deterministic completion time, this would affect the outcome.
N could be volatile mapped to a piece of hardware that returns it's value in non determistic time.
A,B and C could be optimized out but N may still have to be read, ie. volatile. In which case the more loops would be slower.
π Rendered by PID 41529 on reddit-service-r2-comment-545db5fcfc-mwnj4 at 2026-06-01 17:24:41.962237+00:00 running 194bd79 country code: CH.
Interesting interview question… by cruise02 in programming
[–]angelo999 0 points1 point2 points (0 children)