In this tutorial, we will find the size of string without using library functions in C++. In many situations, you are compelled not to use library functions like strlen(). Well, in.... Read More
In this tutorial, we will implement shell sort in Java programming language. Shell sort is a sorting algorithm which does in place comparison. It is a generalization of insertion s.... Read More
We will learn how to find out the level of a given node in binary tree in Java. We will search for the key in binary tree. The level of the root is 1. If we do not find the key in .... Read More
In this tutorial, we will see how to find the lowest common ancestor(LCA) in a binary tree in Java. It is nothing but the lowest common parent of any two given nodes. We will be so.... Read More
In this tutorial, we will learn to implement heap sort in java. A heap is a tree with some special properties, so the value of node should be greater than or equal to(less than or .... Read More
In this tutorial, we will see how to write a java program to find the volume and surface area of any given sphere. Before we begin, let us first see the definition and formulas use.... Read More
In this tutorial, you will be learning the difference between delete and free() in C++ with a simple example. C++ provides two dynamic allocation operators: new and deleteĀ C++ su.... Read More
In this tutorial, we are going to learn How to check leap year or not in Python. Before we get into leap year program, Let us see the logic and definition behind the leap year. Generally, a normal year contains 365 days but leap year contains 366 days. That particular one day is added to […] Read More