Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sorted-tree-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
software-security
sorted-tree-c
Merge requests
!1
Couldn't fetch the linked file.
Final commit
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
Final commit
ss-group-5/sorted-tree-c:fresh-start
into
main
Overview
1
Commits
11
Pipelines
0
Changes
2
Closed
Logmans, J.H. (Job, Student M-CS)
requested to merge
ss-group-5/sorted-tree-c:fresh-start
into
main
1 year ago
Overview
1
Commits
11
Pipelines
0
Changes
2
Expand
Rewrite of our original try
0
0
Merge request reports
Viewing commit
d4d50247
Prev
Next
Show latest version
2 files
+
153
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
d4d50247
All tests pass!
· d4d50247
Job Logmans
authored
1 year ago
tree/inc/tree.h
+
8
−
0
Options
@@ -101,6 +101,14 @@ void tree_fancy_print(Tree *tree, int printNewline);
* @return
*/
Node
*
tree_find
(
Tree
*
node
,
int
age
,
char
*
name
);
// Assumes from is not null!!
Node
*
find_replacement_node
(
Node
*
from
);
// Assumes from is not null!!
Node
*
find_rightmost_node
(
Node
*
from
);
void
cut_node_free
(
Node
*
node
);
char
*
checkChildrenRelationship
(
Node
*
parentNode
);
#endif // C_IMPLEMENTATION_TREE_H
Loading