I think there is some disconnect with 4th requirement by printing just s in print method , can someone please clarify this?
The main method should call the Solution class's print method exactly twice. ?? Is this condition satisfied if write System.out.println(s); four times in print method ?
Under discussion
Comments (3)
- Popular
- New
- Old
You must be signed in to leave a comment
Gowthami
13 November 2018, 18:01
Can you help me with that please.
0
Michael Martin
13 November 2018, 18:16
Look at your main() method. Do you have two lines that look like this:
print(s);
print(s);
Also, post your code so we can see what you are doing.
0
Michael Martin
13 November 2018, 17:49
No, it is not satisfied. You MUST call the print method twice from the main method.
0