Difficulty -
Medium
Total Plays - 1
Allowed Time - 10 sec
Best time - 10 sec
Why are external loops discouraged?
#A
#B
#C
#D
Explanation:
Unbounded loops that depend on storage or user-controlled arrays can exhaust gas and render functions uncallable. Attackers can intentionally cause denial-of-service through loop amplification. Good design avoids external iteration