2015

How to create a simple Http Server in NodeJs

Node.js is an open-source, cross-platform runtime environment for server-side and networking applications. Node.js applications are writt...

santosh 12 Aug, 2015

Convert column to row without using unpivot operator

In this post, I will show you how to convert column to row in SQL. For this post, I am going to use the following table which has three ...

santosh 9 May, 2015

How to implement Stack using linked list

In this blog post, I will show you how to implement LinkedList in C# using Stack. What is LinkedList As per the Wikipedia In computer sci...

santosh 3 Apr, 2015

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

How to dynamically Create Generic C# Object Using Reflection

In this post, we’ll explore how to dynamically create instances of generic classes using C# reflection. This technique can be handy when ...

santosh 28 Feb, 2015