5 ms·
I don't understand why does he show loop-based version using 2 for loops instead of using just one. I usually work in higher-level programming languages, but c
by Hitton 6y ago
I don't understand why does he show loop-based version using 2 for loops instead of using just one. I usually work in higher-level programming languages, but can't believe that cache hits or something else makes it faster than finding sum and maximum both while going through all images only once.
And having just one loop makes it simpler too.
- nnoitra 6y agoChoosing C++ over C means his programming abilities aren't very good.