Courses
Tutorials
Interview Prep
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
Similar Topics
Web Technologies
32.1K+ articles
DSA
20.4K+ articles
Mathematical
5.1K+ articles
Arrays
4.2K+ articles
Searching
1.0K+ articles
Tree
911+ articles
rotation
415+ articles
Binary Search Tree
166+ articles
Inorder Traversal
43+ articles
AVL-Tree
23+ articles
Balanced Binary Search Trees
6 posts
Recent Articles
Popular Articles
C++ Program to Count of Array elements greater than all elements on its left and at least K elements on its right
Last Updated: 23 July 2025
Given an array A[ ] consisting of N distinct integers, the task is to find the number of elements which are strictly greater than all the elements preceding it and strictl...
read more
C++
AVL-Tree
rotation
Balanced Binary Search Trees
Java Program to Count of Array elements greater than all elements on its left and at least K elements on its right
Last Updated: 23 July 2025
Given an array A[ ] consisting of N distinct integers, the task is to find the number of elements which are strictly greater than all the elements preceding it and strictl...
read more
Java
AVL-Tree
rotation
Balanced Binary Search Trees
Insertion, Searching and Deletion in AVL trees containing a parent node pointer
Last Updated: 23 July 2025
AVL tree is a self-balancing Binary Search Tree (BST) where the difference between heights of left and right subtrees cannot be more than one for all nodes. The insertion ...
read more
Picked
DSA
AVL-Tree
Self-Balancing-BST
Balanced Binary Search Trees
Minimize array sum by replacing greater and smaller elements of pairs by half and double of their values respectively atmost K times
Last Updated: 23 July 2025
Given an array arr[] consisting of N positive integers and an integer K, the task is to find the minimum possible array sum that can be obtained by repeatedly selecting a ...
read more
Greedy
Sorting
Mathematical
Binary Search Tree
C++ Programs
DSA
Arrays
array-rearrange
Balanced Binary Search Trees
cpp-multiset
Count of Array elements greater than all elements on its left and at least K elements on its right
Last Updated: 15 July 2025
Given an array A[ ] consisting of N distinct integers, the task is to find the number of elements which are strictly greater than all the elements preceding it and strictl...
read more
Searching
Mathematical
Binary Search Tree
Advanced Data Structure
DSA
Arrays
AVL-Tree
rotation
Balanced Binary Search Trees
Split a BST into two balanced BSTs based on a value K
Last Updated: 12 July 2025
Given a Binary Search tree and an integer K, we have to split the tree into two Balanced Binary Search Tree, where BST-1 consists of all the nodes which are less than K an...
read more
Tree
Binary Search Tree
DSA
Arrays
Inorder Traversal
Balanced Binary Search Trees