3/1/15 - 4/1/15

How to Find if Linked List contains Loops or Cycles in C#

In this post I will show you how to detect loop in linked list. We can find the loop in the linked list via Floyd’s Cycle-Finding Algori...

santosh 29 Mar, 2015

How to reverse a linked list in C#

In computer science, a linked list is a fundamental data structure that represents a sequence of data elements. Unlike arrays, the order of...

santosh 29 Mar, 2015

How to check a tree is a binary tree of not

This is continuation of my post How to create binary tree in c# .In this post I will show you how to check a given tree is a binary tree o...

santosh 29 Mar, 2015

Mirror of a binary tree

This is continuation of my post How to create binary tree in c# .In this post I will show you how convert a given binary tree into it’s mi...

santosh 29 Mar, 2015

How to print out all path from root to leaf of a given binary tree

This is a continuation of my post How to create a binary tree in c# .In this post, I will show you how to print all path from root to leaf...

santosh 29 Mar, 2015

Given a binary tree, find path sum

Given a tree and a sum returns true if there is a path from the root down to a leaf, such that adding up all the values along the path equa...

santosh 29 Mar, 2015

How to find min or max value in a given binary tree

This is a continuation of my post How to create a binary tree in c# .In this post, I will show you how to find max or min value in a given...

santosh 29 Mar, 2015

How to calculate max depth of given binary tree in c#

This is a continuation of my post How to create the binary tree in c# .In this post, I will show you how to calculate the max depth of ...

santosh 29 Mar, 2015

How to calculate size of binary tree

This is a continuation of my post How to create a binary tree in c# .In this post, I will show you how to find the size of the binary tree...

santosh 29 Mar, 2015

How to create binary search tree in c#

Binary search trees are a fundamental data structure in computer science, providing efficient storage and retrieval of data. In this blog ...

santosh 29 Mar, 2015 2