Skip to content

Commit e1025bb

Browse files
author
BorisTestov
committed
Change templates for java
1 parent e0a84c7 commit e1025bb

15 files changed

+30
-34
lines changed

java/sprint2/B/Solution.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
/*
2-
Comment it before submitting
1+
// <template>
32
class Node<V> {
43
public V value;
54
public Node<V> next;
@@ -9,7 +8,7 @@ public Node(V value, Node<V> next) {
98
this.next = next;
109
}
1110
}
12-
*/
11+
// <template>
1312

1413
public class Solution {
1514
public static void solution(Node<String> head) {

java/sprint2/C/Solution.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
/*
2-
Comment it before submitting
1+
// <template>
32
class Node<V> {
43
public V value;
54
public Node<V> next;
@@ -9,7 +8,7 @@ public Node(V value, Node<V> next) {
98
this.next = next;
109
}
1110
}
12-
*/
11+
// <template>
1312

1413
public class Solution {
1514
public static Node<String> solution(Node<String> head, int idx) {

java/sprint2/D/Solution.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
/*
2-
Comment it before submitting
1+
// <template>
32
class Node<V> {
43
public V value;
54
public Node<V> next;
@@ -9,7 +8,7 @@ public Node(V value, Node<V> next) {
98
this.next = next;
109
}
1110
}
12-
*/
11+
// <template>
1312

1413
public class Solution {
1514
public static int solution(Node<String> head, String elem) {

java/sprint2/E/Solution.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
/*
2-
Comment it before submitting
1+
// <template>
32
class Node<V> {
43
public V value;
54
public Node<V> next;
@@ -11,7 +10,7 @@ public Node(V value, Node<V> next, Node<V> prev) {
1110
this.prev = prev;
1211
}
1312
}
14-
*/
13+
// <template>
1514

1615
public class Solution {
1716
public static Node<String> solution(Node<String> head) {

java/sprint5/A/Solution.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ public static int treeSolution(Node head) {
44
// “ヽ(´▽`)ノ”
55
}
66

7-
/** Comment it before submitting
7+
// <template>
88
private static class Node {
99
int value;
1010
Node left;
@@ -16,7 +16,7 @@ private static class Node {
1616
this.right = null;
1717
}
1818
}
19-
**/
19+
// <template>
2020

2121

2222
private static void test() {

java/sprint5/B/Solution.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ public static boolean treeSolution(Node head) {
44
// “ヽ(´▽`)ノ”
55
}
66

7-
/** Comment it before submitting
7+
// <template>
88
private static class Node {
99
int value;
1010
Node left;
@@ -16,7 +16,7 @@ private static class Node {
1616
this.right = null;
1717
}
1818
}
19-
**/
19+
// <template>
2020

2121
private static void test() {
2222
Node node1 = new Node(1);

java/sprint5/C/Solution.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ public static boolean treeSolution(Node head) {
55
}
66

77

8-
/** Comment it before submitting
8+
// <template>
99
private static class Node {
1010
int value;
1111
Node left;
@@ -23,7 +23,7 @@ private static class Node {
2323
this.right = right;
2424
}
2525
}
26-
**/
26+
// <template>
2727

2828

2929
private static void test() {

java/sprint5/D/Solution.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ public static boolean treeSolution(Node head1, Node head2) {
44
// “ヽ(´▽`)ノ”
55
}
66

7-
/** Comment it before submitting
7+
// <template>
88
private static class Node {
99
int value;
1010
Node left;
@@ -22,7 +22,7 @@ private static class Node {
2222
this.right = right;
2323
}
2424
}
25-
**/
25+
// <template>
2626

2727
private static void test() {
2828
Node node1 = new Node(1, null, null);

java/sprint5/E/Solution.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ public static boolean treeSolution(Node head) {
44
// “ヽ(´▽`)ノ”
55
}
66

7-
/** Comment it before submitting
7+
// <template>
88
private static class Node {
99
int value;
1010
Node left;
@@ -22,7 +22,7 @@ private static class Node {
2222
this.right = right;
2323
}
2424
}
25-
**/
25+
// <template>
2626

2727

2828
private static void test() {

java/sprint5/F/Solution.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ public static int treeSolution(Node head) {
44
// “ヽ(´▽`)ノ”
55
}
66

7-
/** Comment it before submitting
7+
// <template>
88
private static class Node {
99
int value;
1010
Node left;
@@ -22,7 +22,7 @@ private static class Node {
2222
this.right = right;
2323
}
2424
}
25-
**/
25+
// <template>
2626

2727
private static void test() {
2828
Node node1 = new Node(1, null, null);

0 commit comments

Comments
 (0)