Problem description for Python code

  • 3

    Problem description in the code below has some conflict with the original one.

    class Solution:
    # @param a, a string
    # @param b, a string
    # @return a boolean

    At first time, I was confused about 'return 0,-1,1' or 'return 'true or false'.......

  • 0

    oh, sorry... the comment is wrong...

    this function should return int instead of bool.

  • 1

    Sorry about it.

    We have updated the template of python. Thanks for pointing it out.

Log in to reply

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