-
Notifications
You must be signed in to change notification settings - Fork 1.3k
add test 606 #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add test 606 #7
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please open separate PR for these two commits.
@@ -38,4 +38,12 @@ public void test2(){ | |||
System.out.println("Test2"); | |||
assertEquals("1(2()(4))(3)", test.tree2str(t)); | |||
} | |||
@Test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Leave a blank line between tests please.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So, each time when I PR for a file and I need to close it for the second file that I want to PR?
@@ -38,4 +38,12 @@ public void test2(){ | |||
System.out.println("Test2"); | |||
assertEquals("1(2()(4))(3)", test.tree2str(t)); | |||
} | |||
@Test | |||
public void test3(){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please have a space between ()
and {
, or you could always select all and format all before you submit a PR.
@@ -52,10 +52,27 @@ private int compute(int[] b) { | |||
a[a.length-1] = first; | |||
return a; | |||
} | |||
//**credit : https://discuss.leetcode.com/topic/58459/java-o-n-solution-with-explanation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please leave a blank line in between different functions.
No description provided.