Posts by LEANDRO DE ALMEIDA FERNANDES • 1 point
1 post
-
-2
votes3
answers2257
viewsA: Which loop is faster in C: while or for?
The statement itself already says that both run the same number of times... That is, the complexity of these algorithms will be equal. O(n 2).