Showing posts from 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 arra…

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 t…

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 alo…

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…

Load More
That is All