CURATED LIST · 20 PROBLEMS
C coding problems
Every runnable C problem, from bit counting to protocol parsing.
| Status | # ↑ | Title | Difficulty |
|---|---|---|---|
| Not attempted | 1 | Count active flagsFREE | Medium |
| Not attempted | 2 | Reverse a byte | Medium |
| Not attempted | 3 | Sum a bounded packet | Medium |
| Not attempted | 4 | Decode network byte order | Medium |
| Not attempted | 5 | Elapsed across wrap | Medium |
| Not attempted | 6 | Debounce three samples | Medium |
| Not attempted | 7 | Saturating byte addition | Medium |
| Not attempted | 8 | A four-slot FIFO | Medium |
| Not attempted | 9 | Validate a length prefix | Medium |
| Not attempted | 10 | Longest fault burst | Medium |
| Not attempted | 11 | Encode a little-endian register value | Medium |
| Not attempted | 12 | Extract a field with checked boundaries | Medium |
| Not attempted | 13 | CRC-8 over a bounded packet | Medium |
| Not attempted | 14 | Walk a bounded TLV packet | Medium |
| Not attempted | 15 | Fixed-window moving average | Medium |
| Not attempted | 16 | Merge sorted event timestamps | Medium |
| Not attempted | 17 | Saturating signed Q15 addition | Medium |
| Not attempted | 18 | Decode escaped serial payload bytes | Medium |
| Not attempted | 19 | Three-sample median filter | Medium |
| Not attempted | 20 | Read a circular log in chronological order | Medium |