updated LC note 9 regarding dp version of Triangle