Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Projet labyrinthe
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Yassine BAHOU
Projet labyrinthe
Commits
9a524001
Commit
9a524001
authored
3 years ago
by
Yassine BAHOU
Browse files
Options
Downloads
Patches
Plain Diff
Upload New File
parent
53475fca
Branches
yassine
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tas/tas.h
+19
-0
19 additions, 0 deletions
tas/tas.h
with
19 additions
and
0 deletions
tas/tas.h
0 → 100644
+
19
−
0
View file @
9a524001
#ifndef TAS__H
#define TAS__H
#include
<stdio.h>
#include
<stdlib.h>
typedef
struct
tas
{
int
capacity
;
int
taille
;
int
*
tab
;
}
tas_t
;
void
Exchange
(
int
*
a
,
int
*
b
);
int
Parent
(
int
i
);
int
Left
(
int
i
);
int
Right
(
int
i
);
void
heapify
(
int
arr
[],
int
n
,
int
i
);
void
heapSort
(
int
arr
[],
int
n
);
#endif
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment