Can someone tell what is wrong with this answer ?


  • 0
    S

    i/P: "010010"

    ["010.0.1.0","01.00.1.0","0.100.1.0","01.0.01.0","0.10.01.0","0.1.001.0","01.0.0.10","0.10.0.10","0.1.00.10","0.1.0.010"]

    Expected:
    ["0.10.0.10","0.100.1.0"]


Log in to reply
 

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