Skip to content

Commit f7585d1

Browse files
authored
Can there any good thing come out of Nazareth?
And Nathanael said unto him, Can there any good thing come out of Nazareth? Philip saith unto him, Come and see. (John 1:46)
1 parent f85ad70 commit f7585d1

1 file changed

Lines changed: 41 additions & 0 deletions

File tree

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
2+
//And Nathanael said unto him, Can there any good thing come out of Nazareth? Philip saith unto him, Come and see. (John 1:46)
3+
4+
package com.javarush.task.task36.task3604;
5+
6+
/*
7+
Разбираемся в красно-черном дереве
8+
*/
9+
public class Solution {
10+
public static void main(String[] args) {
11+
// Word is God
12+
}
13+
}
14+
15+
/*
16+
Разбираемся в красно-черном дереве
17+
18+
Дана реализация красно-черного дерева.
19+
20+
Некоторые методы сломаны. Разберись в коде и исправь ошибки.
21+
22+
Метод main не участвует в тестировании.
23+
24+
Все модификаторы правильные.
25+
26+
Имена переменных и методов не изменяйте.
27+
28+
29+
30+
31+
32+
Требования:
33+
34+
1. Исправь ошибку в методе isEmpty в классе RedBlackTree.
35+
36+
2. Исправь ошибку в методе rotateWithRightNode в классе RedBlackTree.
37+
38+
3. Исправь ошибку в методе insert в классе RedBlackTree.
39+
40+
4. Класс RedBlackTree должен реализовывать красно-черное дерево.
41+
*/

0 commit comments

Comments
 (0)