RTX Interview Question

A few programming code to debug.