Masimo Interview Question

Implement DSP Function