room.java

hackerearth prob
use of dyn prog