Apple Interview Question

FIR and IIR filter