-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathBazar.h
35 lines (19 loc) · 778 Bytes
/
Bazar.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#ifndef BAZAR_H
#define BAZAR_H
#define min(a,b) ((a<b) ? a : b)
#define max(a,b) ((a>b) ? a : b)
int OrdreListe(int *L1, int t1, int *L2, int t2);
int * UnionListesTriees(int *, int, int *, int, int *);
int * IntersectionListesTriees(int *, int, int *, int, int *);
int * DifferenceListesTriees(int *, int, int *, int, int *);
int SearchElement(int, int *, int);
void Tri(int *, int);
void PrintListe(int *, int);
void TriSpecial(int *L1, int *L2, int taille);
int ContenuListesTriees(int * L1, int t1, int * L2, int t2);
int IntersectionNonVideListeTriees(int *L1, int t1, int *L2, int t2);
int Puissance(int a, int b);
int UnionListesTriees2(int *L1, int t1, int *L2, int t2, int *Final);
int NextSet(int * X, int l, int n);
//char *strdup(char *str);
#endif