Difficulty -
Medium
Total Plays -
1
Allowed Time - 10 sec
Best Time - --
What is the most direct risk of “unbounded loops” in on-chain code?
#A
#B
#C
#D
Explanation:
Unbounded loops can make functions exceed block gas limits as state grows, permanently preventing execution—classic denial of service. This is common in airdrop distributions, iterating holders, or clearing arrays. Security interviews test this because it’s a real production failure: “worked in tests” but becomes uncallable at scale. Mitigations include batching/pagination and off-chain indexing.
Leaderboard
User
Rank
Time Taken
The scoreboard is untouched... just like your gym membership. Come on, get this one right and you're instantly #1.