RT-RK interview question

memory allocation, sampling theorem