-
Notifications
You must be signed in to change notification settings - Fork 0
Bor #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
base: main
Are you sure you want to change the base?
Conversation
yurii-litvinov
left a comment
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.
Надо немного доисправлять
Homework2/Bor/Bor/Bor.cs
Outdated
| /// <summary> | ||
| /// A class representing the bor data structure | ||
| /// </summary> | ||
| public class Bor |
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.
Он не Bor, он Trie
Homework2/Bor/Bor/Bor.cs
Outdated
| public class Bor | ||
| { | ||
| /// <summary> | ||
| /// // A class representing the bor data structure |
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.
Не совсем правда, и комментарий в неправильном формате, достаточно ///
Homework2/Bor/Bor/Bor.cs
Outdated
| return node.IsTerminal ? 1 + node.Nodes.Count : node.Nodes.Count; | ||
| } | ||
|
|
||
| // Function for clearing dictionaries |
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.
Внезапно комментарий не в стандартном формате
Homework2/Bor/Bor/Bor.cs
Outdated
|
|
||
| int index = 0; | ||
| Node node = root; | ||
| Node? anotherNode = null; |
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.
Я бы назвал его parent или как-то так, потому что вообще непонятна его роль сейчас
Homework2/Bor/BorTest/BorTest.cs
Outdated
|
|
||
| public class BorTest | ||
| { | ||
| Bor bor = new(); |
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.
| Bor bor = new(); | |
| private Bor bor = new(); |
No description provided.