Find buildings with rightward view | Meta Interview Question