Difficulty -
Medium
Total Plays - 2
Allowed Time - 10 sec
Best time - 10 sec
Why is PUSH0 useful in gas optimization?
#A
#B
#C
#D
Explanation:
PUSH0 provides a zero literal without consuming calldata or memory. This reduces bytecode size and simplifies stack management. It's extremely helpful in tight loops and assembly-heavy contracts.