Skip to content

Knuth–morris–pratt#72

Open
MinyazevR wants to merge 13 commits intomainfrom
Knuth–Morris–Pratt

Hidden character warning

The head ref may contain hidden characters: "Knuth\u2013Morris\u2013Pratt"
Open

Knuth–morris–pratt#72
MinyazevR wants to merge 13 commits intomainfrom
Knuth–Morris–Pratt

Conversation

@MinyazevR
Copy link
Copy Markdown
Owner

No description provided.

Copy link
Copy Markdown

@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.

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

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Кажется, что это просто часть реализации KMP, так что ей нечего делать в заголовочном файле

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Кто-то из них явно должен быть const

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Табуляции вместо пробелов для отступа, не по стайлгайду

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

const?

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

camelCase

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

strlen-ы надо заранее посчитать, они работают за линейное время

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.

2 participants