Skip to content

Conversation

@xbz
Copy link

@xbz xbz commented Oct 22, 2014

  1. a typo: class name should be Solution :)
  2. There is no need to check "if (numRows <= 0)"

1. a typo: class name should be Solution :)
2. There is no need to check "if (numRows <= 0)"
@xbz
Copy link
Author

xbz commented Oct 22, 2014

  1. The class name should be the same.
    Why does the class name should be the same? I'm confused.
    this code can't pass the leetcode online judge.

@yuzhangcmu
Copy link
Owner

you Can add my QQ 215573479

On Wednesday, October 22, 2014, xbz [email protected] wrote:

  1. The class name should be the same. Why does the class name should
    be the same? I'm confused. this code can't pass the leetcode online judge.


Reply to this email directly or view it on GitHub
#2 (comment)
.

@yuzhangcmu
Copy link
Owner

  1. The file name is the Generate.
    When you paste it in the Leetcode, you should change the name.

    But the code is ran in the Eclipse.

On Oct 22, 2014, at 1:50 AM, xbz [email protected] wrote:

The class name should be the same. Why does the class name should be the same? I'm confused. this code can't pass the leetcode online judge.

Reply to this email directly or view it on GitHub.

@xbz
Copy link
Author

xbz commented Oct 22, 2014

sorry, i'm not a Java coder and think it's a bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants