• Difficulty - Medium
    Total Plays - 19
    Allowed Time - 10 sec
    Best Time - 1.455

    Why is bytes32 cheaper than string in storage?

    #A
    #B
    #C
    #D
    Explanation:
    bytes32 has a fixed 32-byte size and fits into a single storage slot. string is dynamically sized and requires additional storage pointers and length metadata.
    Leaderboard
    User
    Rank
    Time Taken
    Harshit Singhal

    Harshit Singhal

    @cnh4gZk

    1
    1.455 sec
    Nishil A

    Nishil A

    @bVcS6U3

    2
    1.748 sec
    3
    4.636 sec
    Surya Singu

    Surya Singu

    @suryacode

    4
    7.799 sec
    Nithin

    Nithin

    @snZtGbS

    5
    9.630 sec