New answers tagged

2 votes
Accepted

Tree algorithm - arrange integer array numbers to form largest number

I'd like to say good work on the soluton! It's a nice attempt you have converting it to a tree as well, and I think a tree can be used in some way. However, I think using specifically an N-ary tree, ...
Minko_Minkov's user avatar
1 vote

Why do benchmark results vary at all?

Simply put, benchmark would return the same, exact number if the cpu is in the same state every time the code is benchmarked. What does cpu state mean? It means the context of the cpu at that ...
Rinkesh P's user avatar
  • 1,024
5 votes

Why do benchmark results vary at all?

Your assumption that the clock rate is constant is wrong. My computer at home can at any time switch each core to one of 15 different clock speeds. Your assumption that the same operation always takes ...
gnasher729's user avatar

Top 50 recent answers are included