Skip to content

Conversation

@MinyazevR
Copy link
Owner

No description provided.

Copy link

@yurii-litvinov yurii-litvinov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Надо немного доисправлять

/// <summary>
/// A class representing the bor data structure
/// </summary>
public class Bor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Он не Bor, он Trie

public class Bor
{
/// <summary>
/// // A class representing the bor data structure

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Не совсем правда, и комментарий в неправильном формате, достаточно ///

return node.IsTerminal ? 1 + node.Nodes.Count : node.Nodes.Count;
}

// Function for clearing dictionaries

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Внезапно комментарий не в стандартном формате


int index = 0;
Node node = root;
Node? anotherNode = null;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Я бы назвал его parent или как-то так, потому что вообще непонятна его роль сейчас


public class BorTest
{
Bor bor = new();

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Bor bor = new();
private Bor bor = new();

MinyazevR added 8 commits June 2, 2022 00:31
This reverts commit 480d6ba.
This reverts commit 480d6ba.

# Conflicts:
#	.github/workflows/dotnet.txt
This reverts commit b7fc6d2.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants