We will like to know your approach towards solving typical embedded software problems.
Your challenge is to provide sample code for three independent tasks. This repository contains a source file for each of the three tasks with instructions appearing as header comments in the respective files. You may also see some skeleton code which you need to complete based on the instructions given in the source file.
- Sample code for Task 1, 2 and 3 (please see respective source files)
- A Makefile which compiles complete programs for Task 1 and Task 2 with GNU C/C++ compiler
- For Task 3 the above Makefile should just generate an object file, complete program is not needed.
- Programs corresponding to Task 1 and Task 2 should be runable on a GNU/Linux PC such as a Ubuntu box.
You have 90 minutes to complete these tasks.
- Structure of the code including flow and identifiable data structures
- Consistent code formatting
- Eye for writing efficient code suitable for running on constrained memory/cpu devices.
When you're ready, please fork this repository and start writing code in your fork. You'll get extra points for committing often in small chunks.