Qualcomm interview question

Implementation for an IPC scheme