Wrong answer for Input: ["What","must","be","shall","be."] 12


  • 1
    H

    Input:
    ["What","must","be","shall","be."]
    12
    Output:
    ["What must be","shall(4 spaces)be."]
    Expected:
    ["What must be","shall be.(3 spaces)"]

    I feel my output is the desired one than the expected solution.


  • 1
    Y
    This post is deleted!

Log in to reply
 

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