• Difficulty - Medium
    Total Plays - 5
    Allowed Time - 10 sec
    Best time - 2.699 sec

    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

Nishil A

Member

1
2.699
Home Channels Search Login Register