-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMsetStructs.h
42 lines (30 loc) · 1.04 KB
/
MsetStructs.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
36
37
38
39
40
41
https://powcoder.com
代写代考加微信 powcoder
Assignment Project Exam Help
Add WeChat powcoder
// COMP2521 24T3 - Assignment 1
#ifndef MSET_STRUCTS_H
#define MSET_STRUCTS_H
// IMPORTANT: Only structs should be placed in this file.
// All other code should be placed in Mset.c.
// DO NOT MODIFY THE NAME OF THIS STRUCT
struct mset {
struct node *tree; // DO NOT MODIFY/REMOVE THIS FIELD
// You may add more fields here if needed
};
// DO NOT MODIFY THE NAME OF THIS STRUCT
struct node {
int elem; // DO NOT MODIFY/REMOVE THIS FIELD
int count; // DO NOT MODIFY/REMOVE THIS FIELD
struct node *left; // DO NOT MODIFY/REMOVE THIS FIELD
struct node *right; // DO NOT MODIFY/REMOVE THIS FIELD
// You may add more fields here if needed
};
// You may define more structs here if needed
////////////////////////////////////////////////////////////////////////
// Cursors
struct cursor {
// You may add more fields here if needed
};
////////////////////////////////////////////////////////////////////////
#endif