Intro to Binary Search Tree

Binary search tree is very efficient and has strengths of array and linked list.Array and Linked List are great data structure but they have some weaknesses.It’s fast to access array but slow to adjust the size.It’s slow to access linked list but fast to adjust the size.However, it’s fast to access binary search tree and it’s still very flexible to adjust the size. What is Binary Tree? Before diving into binary search tree we need to understand binary tree first.Binary tree is an extended form of singly linked list but has two pointers to other nodes (children) instead.Pointers are not READ MORE