updated LC note 9 to reflect dp version of triangle