C: Method to insert a given item x into a linked list. Head is a List *, x's data type is item_type — void insert_list(List **l, item_type x) { List *p; p = malloc(sizeof(List)); p->item = x; p->next = *l; *l = p; }
G
1.2K
Google Interview
This flashcard deck made by jwasham contains knowledge about google interview. For more details, please follow https://github.com/jwasham/google-interview-university