Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- / /Array List of strings
- typedef struct SmallList {
- int size, cap;char** arr;
- }SmallList;
- // Array List of Array List of Strings
- typedef struct BigList {
- int size, cap;
- SmallList* arr;
- }BigList;
- // Prototypesfor the Big Array Lists
- BigList * createBig();
- void expandBig(BigList *);
- void add2Big(BigList *, char *val);
- // Prototypes for the Small Array Lists
- void expandSmall(SmallList *);
- void initializeSmall(SmallList *);
- void add2Small(SmallList *, char *val);
- // Method to find an index for the given string
- int getInd(BigList *, char *val);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement