Difficulty -
Medium
Total Plays - 1
Allowed Time - 10 sec
Best time - 10 sec
Why do storage reads cost more than memory reads?
#A
#B
#C
#D
Explanation:
Storage accesses require Merkle-Patricia proof validation at the state level. This makes SLOAD one of the most expensive operations in Solidity. Caching values into memory significantly reduces repeated cost.