← Questions

Reassemble a stream of TLV messages in C

0
Applied IntuitionCodingLast asked Aug 2026

A coding interview question asked in Applied Intuition's technical phone screen, last asked Aug 2026. It tests c++, parsing and byte streams.

In C, write a reassembler that rebuilds a file from packets. Each packet is encoded as type-length-value (TLV) records: a fragment's index, the total fragment count or other metadata, and the fragment's bytes.

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

What it tests

c++ · parsing · byte streams · buffers

Your code and the AI tutor open when you unlock this question.