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
#include <stdio.h> | |
#define TAPE_SIZE 30000 | |
#define SOURCE_SIZE 30000 | |
char tape[TAPE_SIZE]; | |
// cell is like tape[0] and if we say cell = cell + 1 then it's like tape[1] | |
char *cell = tape; |