Skip to content

fixing typos in bracket_sequences.md #1304

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

Merged
merged 1 commit into from
Jul 11, 2024

Conversation

alaahmet
Copy link
Contributor

@alaahmet alaahmet commented Jul 1, 2024

Hello, while reading the article I encountered some typos: Here is the list:

needs to be changes -> needs to be changed
each pair be -> each pair can be
If we find do suitable position -> If we don't find a suitable position can be generate -> can be generated
We will us -> We will use
change is we have -> change if we have

In each position we have to decide if we use an opening of a closing bracket. -> At each position, we have to decide whether to place an opening or a closing bracket.

To have to put an opening bracket character, it $d[2n - i - 1][\text{depth}+1] \ge k$ . -> To place an opening bracket, $d[2n - i - 1][\text{depth}+1] \ge k$ must be true.

We increment the counter -> If so, we increment the counter

and try to put this bracket -> and try to place this bracket

needs to be changes -> needs to be changed
each pair be -> each pair can be
If we find do suitable position -> If we don't find a suitable position
can be generate -> can be generated
We will us -> We will use
change is we have -> change if we have

In each position we have to decide if we use an opening of a closing bracket. -> At each position, we have to decide whether to place an opening or a closing bracket.


To have to put an opening bracket character, it $d[2n - i - 1][\text{depth}+1] \ge k$ . -> To place an opening bracket, $d[2n - i - 1][\text{depth}+1] \ge k$ must be true.

We increment the counter -> If so, we increment the counter

and try to put this bracket -> and try to place this bracket
@alaahmet
Copy link
Contributor Author

alaahmet commented Jul 1, 2024

and I replaced word "put" with "place" in several positions, since it fits better for the context.

@adamant-pwn
Copy link
Member

Thanks!

@adamant-pwn adamant-pwn merged commit a4207b9 into cp-algorithms:master Jul 11, 2024
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