Sum of given range | Segment tree construction and update | Simplest explanation

Поделиться
HTML-код
  • Опубликовано: 30 сен 2024
  • This video explains, in the simplest way possible, a very frequently asked data structure which is segment tree in details with construction of segment tree along with operations like range sum query and update of old values to new value. CODE explanation is done after each operation for better understanding. CODE LINK is given below. If you find any difficulty or have any query then do COMMENT below. PLEASE help our channel by SUBSCRIBING and LIKE our video if you found it helpful...CYA :)
    CODE LINK: gist.github.co...

Комментарии • 168