WTF is a Binary Search Tree?

Written by vladyslav | Published 2020/10/04
Tech Story Tags: binary-search | binary-code | binary-search-trees | python | hackernoon-top-story | what-is-a-binary-search-tree | parent-node-vs-child-node | unbalanced-binary-tree | web-monetization

TLDR A binary search tree is a type of data structure that is commonly used to represent hierarchical data. It is an efficient way of storing and organizing data that is ranked in parent nodes and child nodes. The height of a binary tree is determined by the number of nodes from top to bottom. There are three different types of binary trees. To check whether a tree is balanced or not, the difference between the height of the left and right subtree is not greater than 1. To perform a search operation, we will use a binary search.via the TL;DR App

no story

Written by vladyslav | πŸ‡ΊπŸ‡¦ software engineer @ planet earth 🌍
Published by HackerNoon on 2020/10/04