Nortek Interview Question

Using C code write a routine to find a 32 bit frame start sequence in a raw byte stream buffer.

Interview Answers

Anonymous

Jun 22, 2016

Wrote code to perform the task taking care to understand byte alignment issues.

Anonymous

Aug 1, 2016

Let buf be the buffer, BUF_SIZE be it's size, ref_frame be the reference frame int i = 0, j = 0; while(i