WSP interview question

Railway Common Safety method