SHARE
TWEET

Untitled

a guest Jan 24th, 2020 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. / /Array List of strings
  2. typedef struct SmallList {
  3. int size, cap;char** arr;
  4. }SmallList;
  5.  
  6. // Array List of Array List of Strings
  7. typedef struct BigList {
  8. int size, cap;
  9. SmallList* arr;
  10. }BigList;
  11. // Prototypesfor the Big Array Lists
  12. BigList * createBig();
  13. void expandBig(BigList *);
  14. void add2Big(BigList *, char *val);
  15. // Prototypes for the Small Array Lists
  16. void expandSmall(SmallList *);
  17. void initializeSmall(SmallList *);
  18. void add2Small(SmallList *, char *val);
  19. // Method to find an index for the given string
  20. int getInd(BigList *, char *val);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top