Did I misunderstand the question??


  • 0
    A

    Did I misunderstand the question? Can anybody explain more clearly?

    124575
    [72,10]
    

    Leetcode gives out answer: 1299

    124575
    [7,210]
    

    Leetcode gives out answer: 1271

    124575
    [7210]
    

    Leetcode gives out answer: 536

    Should't all three return the same result: 536? (by concatenating all digits together in b)


  • 0
    A

    Ah now I see: inside array b, each element is a single-digit number. Duh.. hope this problem could be described more clearly. Can anyone from Leetcode modify the problem description a bit?


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.