Skip to content

Instantly share code, notes, and snippets.

@aaronryank
Last active November 30, 2016 05:28
Show Gist options
  • Save aaronryank/28e6786b812ffa7976260aeb1ec1851b to your computer and use it in GitHub Desktop.
Save aaronryank/28e6786b812ffa7976260aeb1ec1851b to your computer and use it in GitHub Desktop.
typedef struct node {
long val;
struct node *next;
} node_t;
extern void print_list(node_t *);
extern void push(node_t *, long);
extern int pop(node_t **);
extern int remove_last(node_t *);
extern int remove_by_index(node_t **, int);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment