Skip to content
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

(feat) binary search tree addition #2

Merged
merged 7 commits into from
Oct 21, 2022
Merged

(feat) binary search tree addition #2

merged 7 commits into from
Oct 21, 2022

Conversation

LenaMarochkina
Copy link
Collaborator

No description provided.

@LenaMarochkina LenaMarochkina added the feature New feature or request label Oct 8, 2022
@LenaMarochkina LenaMarochkina self-assigned this Oct 8, 2022
src/bvs.h Outdated Show resolved Hide resolved
src/bvs.c Outdated Show resolved Hide resolved
src/bvs.c Outdated Show resolved Hide resolved
src/bvs.c Outdated Show resolved Hide resolved
src/bvs.c Outdated Show resolved Hide resolved
@NickSettler NickSettler changed the title BVS addition (feat) binary search tree addition Oct 9, 2022
@NickSettler NickSettler linked an issue Oct 10, 2022 that may be closed by this pull request
@NickSettler NickSettler added this to the Sprint 2 milestone Oct 10, 2022
src/bvs.c Outdated

tree_node *create_node(int value) {
tree_node *result = (tree_node *) malloc(sizeof(tree_node));
if (result != 0) {
Copy link
Owner

Choose a reason for hiding this comment

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

You should check, if result is not equals to NULL. If it is null INTERNAL_ERROR must be called from errors module.

pasynkovnikita
pasynkovnikita previously approved these changes Oct 21, 2022
@LenaMarochkina LenaMarochkina merged commit 3bac15d into master Oct 21, 2022
@NickSettler NickSettler deleted the bvs_addition branch October 22, 2022 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants