Skip to content

Conversation

@kindofman
Copy link
Owner

No description provided.

@kindofman kindofman requested a review from ylyubimov November 19, 2019 04:50
6-1/main.cpp Outdated
Node* current = root;
while ( current ) {
cout << current->key << ' ';
current = current->pre_order_step();
Copy link
Collaborator

Choose a reason for hiding this comment

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

Нет имелось в виду не так(
а так:
pre_order([](int key){ cout << key << ' '; });
И давай все-таки научимся коммитить в те же ПР, а не заводить новые)

Copy link
Owner Author

Choose a reason for hiding this comment

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

Готово:) Сделал функтор

Сделал функтор для передачи в pre_order
@kindofman kindofman requested a review from ylyubimov November 23, 2019 19:21
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