- Популярные видео
- Авто
- Видео-блоги
- ДТП, аварии
- Для маленьких
- Еда, напитки
- Животные
- Закон и право
- Знаменитости
- Игры
- Искусство
- Комедии
- Красота, мода
- Кулинария, рецепты
- Люди
- Мото
- Музыка
- Мультфильмы
- Наука, технологии
- Новости
- Образование
- Политика
- Праздники
- Приколы
- Природа
- Происшествия
- Путешествия
- Развлечения
- Ржач
- Семья
- Сериалы
- Спорт
- Стиль жизни
- ТВ передачи
- Танцы
- Технологии
- Товары
- Ужасы
- Фильмы
- Шоу-бизнес
- Юмор
Median of BST| DSA Coding
You are given the root of a Binary Search Tree, find the median of it.
Let the nodes of the BST, when written in ascending order (inorder traversal), be represented as V1, V2, V3, …, Vn, where n is the total number of nodes in the BST.
If number of nodes are even: return V(n/2)
If number of nodes are odd: return V((n+1)/2)
LIKE the video, COMMENT if you have any questions and SHARE it with your loved once's. SeaU
Get the source: https://www.geeksforgeeks.org/problems/median-of-bst/1
#dsa #algorithm #interview #interviewexperiences #coding #codingforbeginners #codingtutorial #binarysearchtree #tree
Видео Median of BST| DSA Coding канала OBrutus
Let the nodes of the BST, when written in ascending order (inorder traversal), be represented as V1, V2, V3, …, Vn, where n is the total number of nodes in the BST.
If number of nodes are even: return V(n/2)
If number of nodes are odd: return V((n+1)/2)
LIKE the video, COMMENT if you have any questions and SHARE it with your loved once's. SeaU
Get the source: https://www.geeksforgeeks.org/problems/median-of-bst/1
#dsa #algorithm #interview #interviewexperiences #coding #codingforbeginners #codingtutorial #binarysearchtree #tree
Видео Median of BST| DSA Coding канала OBrutus
Комментарии отсутствуют
Информация о видео
16 ч. 30 мин. назад
00:08:02
Другие видео канала