Difficulty -
Medium
Total Plays -
6
Allowed Time - 10 sec
Best Time - 2.699
Why avoid comparing strings on-chain?
#A
#B
#C
#D
Explanation:
String comparison requires hashing or byte-by-byte checks, both of which are expensive in the EVM model. It also introduces risk when mixed with packed encodings. Developers instead rely on enums or hashed IDs.
Leaderboard
User
Rank
Time Taken