Check if a line Intersect or Touches a Circle
It is a very easy math problem, give an equation of a line, a radius of a circle and its center … Continue Reading
The problem is we have a string and we have to reverse each word in a string. We have to write a program for the same.
… Continue Reading
LEADER in an array is an element which is greater than all element to its right side. Below are the methods and their implementation is given to print LEADERS in … Continue Reading
Given a decimal number, we have to print the length of longest consecutive 1s in binary representation.
for example, if we have 55 the binary representation will be 110111. So … Continue Reading
Returned values of printf() and scanf()
In C, printf() is used to print, and scanf() is used to read data.
Value returned by printf() is the number of characters successfully … Continue Reading
In this post we are going to write a program which will print the boundary nodes of a binary tree. Also known as boundary traversal of binary tree.
Boundary nodes … Continue Reading
Here in this post we are going to learn how to switch between activities in android. Means how to go from one activity to another.Below is very simple example. So … Continue Reading