Skip to content
geeksforgeeks
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • Tutorials
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
  • Practice
    • Build your AI Agent
    • GfG 160
    • Problem of the Day
    • Practice Coding Problems
    • GfG SDE Sheet
  • Contests
    • Accenture Hackathon (Ending Soon!)
    • GfG Weekly [Rated Contest]
    • Job-A-Thon Hiring Challenge
    • All Contests and Events
  • DSA
  • Practice Problems
  • Python
  • C
  • C++
  • Java
  • Courses
  • Machine Learning
  • DevOps
  • Web Development
  • System Design
  • Aptitude
  • Projects
Similar Topics
DSA
22.4k+ articles
Algorithms
2k+ articles
Searching
1.7k+ articles
Tree
1.4k+ articles
Data Structures
1.1k+ articles
Recursion
1k+ articles
Google
370+ articles
interview-preparation
330+ articles
Binary Tree
310+ articles
Binary Search Tree
280+ articles

Complete Binary Tree

12 posts
Minimum nodes to be removed to make a Binary tree complete
Last Updated: 27 April 2023
Given a binary tree with positive values of nodes, find the minimum number of nodes that need to be removed to transform it into a complete ...read more
image
Tree
Binary Tree
Complete Binary Tree
BFS
DFS
DSA
Difference between Full and Complete Binary Tree
Last Updated: 11 October 2024
A binary tree is a type of data structure where each node can only have two offspring at most named as “left” and “right” child. The...read more
image
Tree
Binary Tree
Complete Binary Tree
Picked
DSA
Count number of nodes in a complete Binary Tree
Last Updated: 15 November 2023
Given the root of a Complete Binary Tree consisting of N nodes, the task is to find the total number of nodes in the given Binary Tree.Examp...read more
image
Tree
Binary Tree
Google
Complete Binary Tree
tree-traversal
interview-preparation
Recursion
DSA
Similar Topics
DSA
22.4k+ articles
Algorithms
2k+ articles
Searching
1.7k+ articles
Tree
1.4k+ articles
Data Structures
1.1k+ articles
Recursion
1k+ articles
Google
370+ articles
interview-preparation
330+ articles
Binary Tree
310+ articles
Binary Search Tree
280+ articles
Find value K in given Complete Binary Tree with values indexed from 1 to N
Last Updated: 27 March 2023
Given a complete binary tree with values indexed from 1 to N and a key K. The task is to check whether a key exists in the tree or not. Prin ...read more
Tree
Google
Complete Binary Tree
Algorithms
Searching
Data Structures
DSA
Kth Smallest element in a Perfect Binary Search Tree
Last Updated: 30 June 2021
Given a Perfect BST with N nodes and an integer K, the task is to find the Kth smallest element is present in the tree.Example:Input:K = 3, ...read more
Complete Binary Tree
Algorithms
Searching
Binary Search Tree
interview-preparation
Binary Search Trees
median-finding
DSA
Print updated levels of each node of a Complete Binary Tree based on difference in weights of subtrees
Last Updated: 13 October 2021
Given a complete binary tree with N levels numbered [0, (N - 1 )] from root to the lowest level in decreasing order and having weights numbe ...read more
Tree
Complete Binary Tree
Queue
Competitive Programming
Recursion
Data Structures
C++ Programs
DSA
Generate Complete Binary Tree in such a way that sum of non-leaf nodes is minimum
Last Updated: 06 January 2023
Given an array arr[] of size N, the task is to generate a Complete Binary Tree in such a way that sum of the non-leaf nodes is minimum, wher...read more
image
Arrays
Tree
Complete Binary Tree
Stack
DSA
Sideways traversal of a Complete Binary Tree
Last Updated: 07 February 2022
Given a Complete Binary Tree, the task is to print the elements in the following pattern. Let's consider the tree to be:The tree is traverse...read more
image
Tree
Binary Tree
Complete Binary Tree
Algorithms
Data Structures
Tree Traversals
DSA
Count of nodes which are at a distance X from root and leaves
Last Updated: 31 May 2022
Given two integers N and X, where N is the number of nodes in an almost complete binary tree. The task is to find:The number of nodes that a ...read more
Tree
Complete Binary Tree
Mathematical
DSA
Number of edges in mirror image of Complete binary tree
Last Updated: 08 March 2023
Given a complete binary tree of depth H. If the mirror image from the left and the right side of this tree is taken then:Right Mirrored Imag...read more
image
Tree
Complete Binary Tree
Binary Search Tree
DSA
Find the largest Complete Subtree in a given Binary Tree
Last Updated: 06 January 2025
Given a Binary Tree, the task is to find the size and also the inorder traversal of the largest Complete sub-tree in the given Binary Tree.C...read more
image
Tree
Binary Tree
Complete Binary Tree
DSA
Linked complete binary tree & its creation
Last Updated: 09 March 2023
A complete binary tree is a binary tree where each level 'l' except the last has 2^l nodes and the nodes at the last level are all left-alig ...read more
Tree
Complete Binary Tree
DSA
1
1
1
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
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
Lightbox