Courses
Tutorials
Practice
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
37.4K+ articles
DSA
22.8K+ articles
Mathematical
7.8K+ articles
Arrays
6.5K+ articles
C++ Programs
2.4K+ articles
Searching
1.7K+ articles
Advanced Data Structure
595+ articles
rotation
415+ articles
Binary Search Tree
291+ articles
AVL-Tree
23+ articles
Balanced Binary Search Trees
6 posts
Recent Articles
Popular Articles
Split a BST into two balanced BSTs based on a value K
Last Updated: 04 January 2023
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
Count of Array elements greater than all elements on its left and at least K elements on its right
Last Updated: 27 May 2024
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
Minimize array sum by replacing greater and smaller elements of pairs by half and double of their values respectively atmost K times
Last Updated: 02 June 2021
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
Insertion, Searching and Deletion in AVL trees containing a parent node pointer
Last Updated: 21 May 2024
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
Tree
Data Structures
Picked
DSA
AVL-Tree
Self-Balancing-BST
Balanced Binary Search Trees
C++ Program to Count of Array elements greater than all elements on its left and at least K elements on its right
Last Updated: 17 August 2023
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
C++ Programs
C++
DSA
Arrays
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: 21 March 2023
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
Searching
Mathematical
Binary Search Tree
Advanced Data Structure
Java Programs
DSA
Arrays
AVL-Tree
rotation
Balanced Binary Search Trees
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !