I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!
\
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* CSE 351 HW1 (Data Lab ) | |
* | |
* Boris Kaul <[email protected]> | |
* | |
* bits.c - Source file with your solutions to the Lab. | |
* This is the file you will hand in to your instructor. | |
* | |
* WARNING: Do not include the <stdio.h> header; it confuses the dlc | |
* compiler. You can still use printf for debugging without including |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* A key/value dict system in C */ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#define TEST TRUE /* Comment this line out to compile without a main function (used when including into another application). */ | |
typedef struct dict_t_struct { | |
char *key; | |
void *value; |