Difficulty -
Medium
Total Plays -
20
Allowed Time - 10 sec
Best Time - 1.062
Why avoid multiple SSTOREs in a function?
#A
#B
#C
#D
Explanation:
SSTORE is one of the most expensive operations and repeating it unnecessarily multiplies costs. Caching values into memory and writing once dramatically optimizes gas. This is foundational in gas-sensitive protocols.
Leaderboard
User
Rank
Time Taken