# Data Structure

In Data Structure (DS) section, we will share all article related to Data Structure it includes Linked List, Array, Stack, Queue, Algorithm like sorting, searching, divide and conquer, dynamic Programming, Time and space complexity.

### Binary Tree Tutorials | Interview Questions and Answers

What is Binary Tree? A binary tree is a special type of tree. As its name, every node in the tree will be having either zero node, one node or two child nodes. Any node in the...

### [Solved] Find Lowest Common Ancestor in the Binary Tree

In an earlier tutorial, we have seen what is the ancestor of a node in the binary tree? How to find and print all the ancestors of a given node in a Binary tree? If you...

### Level Order Traversal in Binary Tree | Explained with Code and Example

Traversal is an algorithm for visiting each node in a different fashion. Earlier we have seen see pre-order, in-order and post-order BT traversal. Now we are interested in...

### Program to Find the Height of the Binary Tree using Recursion

What is the Height of Binary Tree (BT)? The height of the Binary Tree is the number of edges from the root node to the deepest leaf node. The height of the tree is the...

### Dynamic Programming and Recursion | Difference, Advantages with Example

Do you want to learn dynamic programming recursion in detail? Recursion and dynamic programming are two important programming concept you should learn if you are preparing...

### 6 Different Types of Recursion in C Explained with Programming Example

After learning the concept of functions and how they are executed, it is a time to learn recursion. In this tutorial, you will learn all the basic of recursion in the data...

### 8 P-NP Problem Interview Questions with Answers

What are the P-NP problem interview questions? Here is a list of simple questions with answer. 1. What is a deterministic and non-deterministic machine? Answer: There are two...

### 6 Basic Different Types of Sorting Algorithms Explained in Detail

Table of Contents What is a Sorting Algorithm? Different Types of Soring Algorithm Insertion Sort Algorithm Selection Sort Algorithm Bubble Sort Algorithm...

### Complete Bubble Sort in C with Explanation | Algorithm, Program and Complexity

Table of Content: What is the Bubble Sort? Bubble Sort Algorithm How does Bubble Sort Work? C Program to Implement Bubble Sort Bubble Sort Complexity...

1›

Page 1 of 2