Everpure interview question

RC circuits, transmission lines, one coding question