## Complete Binary Tree and Full Binary Tree

A binary tree is a tree in which each node has 1 or 2 child nodes. A node cannot have more than two children in a binary tree. Complete Binary… Read more »

- Home
- Algorithms
- Computer Graphics
- Lab 1 – Print Green Window
- Lab 2 – Sierpinski Triangle
- Lab 3 – Two Dots
- Lab 4 – Square in Square
- Lab 5 – Qaudrilateral
- LAB 6- e^(-x)*cos(2*x*π ) Graph
- Lab 7 – sin(x)/x Graph
- Lab 8 – Dot on Click
- Lab 9 – (i) Chess Board
- Lab 9 – (ii) Colored Chess Board
- Lab 10 – Freehand Drawing
- Lab 11 – Mouse Click Polyline
- Lab – 12. Color Freehand Drawing

- Data Structures
- Networking
- About Us

Man is still the most extraordinary computer of all

A binary tree is a tree in which each node has 1 or 2 child nodes. A node cannot have more than two children in a binary tree. Complete Binary… Read more »

A priority queue is like a regular stack or queue data structure, but in addition, each element has a priority associated with it. Elements in the queue are served according… Read more »

Download the full code here: Suppose you have a graph as shown below. Let us see how we perform breadth first traversal here: Since it is a graph, there is… Read more »

Download the cod here: For reversing a singly linked list, you will need a function with 2 pointers (here n and curr). We start with curr pointed to head. Then… Read more »

Download the code here: Given an array of numbers, to find the subarray which gives the maximum sum can be solved using Kadane’s algorithm. The array may contain both positive… Read more »

Download the code here: #include<stdio.h> //for C file input/output functions #include<stdlib.h.h> //used here for exit() function #include<string.h> //for using strcmp() function #include<sys/types.h> //contains definitions of a number of data types… Read more »

Download the code here: #include<stdio.h> //for C file input/output functions #include<stdlib.h.h> //used here for exit() function #include<string.h> //for using strcmp() function #include<sys/types.h> //contains definitions of a number of data types… Read more »