A java project which returns the list of houses with sunset.
In series of houses. Each house facing north direction. Houses are in a single line east to west. If height fo any house smaller than the height of houses in east, there is no sunset in house.
[house id, height of house]
Sample input -- [B1,500], [B2,300], [B3,200]
Out put -- [B1,B2,B3]
Sample input 2 -- [B1,500], [B2,200], [B3,300]
Output -- [B1,B3]