/Piscine-C

Piscine C: proposed solutions to exercises, projects, rushes and exams for the admission bootcamp

Primary LanguageC

Piscine C

Piscine C: proposed solutions to exercises, projects, rushes and exams for the admission bootcamp

Remark All solutions are wrong. There are some corner cases which are not covered by the solution. GOOD LUCK in finding and fixing them! You should submit only your own solution to the exercises, otherwise it is considered cheating. Therefore, please do not verbatim-copy others' solutions without understanding them!

Regular days

Day00: Unix - basic commands, filesystem
Day01: Unix - advanced commands, environment variables, redirections, stdout, stderr
Day02: First day of C
Day03: Pointers, pointer arithmetic, arrays, character strings, void*
Day04: Recursion. Recursive vs iterative algorithms
Day05: Char string manipulation
Day06: Libraries, main's arguments (argc, argv)
Day07: Compilation's steps, dynamic memory allocation
Day08: Preprocessor, #include, #define, typedef, structs, enums, unions
Day09: 24h journey
Day10: Makefile, pointers to functions
Day11: Linked lists
Day12: Files, file manipulation (open, write, read, lseek)
Day13: Binary trees

Rushes (group projects)

Rush00: Basic printing
Rush01: Backtracking
Rush02: Pattern recognition

Projects

match-n-match: Wildcard pattern matching
evalexpr: Arithmetic expression evaluation
bsq: Dynamic programming