Add solution for #10042 Traffic Flow