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

Skip to content
# Category: Java Programs

## Check if a line Intersect or Touches a Circle

## Depth First Traversal – DFS – Graph

## Breadth First Search – BFS – Graph

#### Program

## Program to Print LEADERS in an Array

## Program to print Boundary nodes of Binary Tree – Boundary Traversal of Binary Tree

## Program to check if a string has unique characters or not?

## C++ and Java Program to Add Two Time object

## Deleting a Node in Linked List

## Write a Program to Find length of a Linked List

## Inserting a Node in Linked List

Java is one of the most used programming languages. Here is the large number of java programs. Java Programs is explained in an easy manner. All the questions are well structured. Java interview questions are also given. Solve java problems and make yourself a good java programmer.

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

Depth first traversal is an algorithm for traversing tree or graph data structures. In DFS we start from a root node (can be any node in case of graph), and … Continue Reading

Breadth first search is an algorithm for searching and traversing in a tree or graph data structures.

Below is the java implementation for Bread first Traversal.

import java.util.*; public… 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

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

Given a string we have to find whether this string has unique characters or not. If it contains unique characters return true else return false. This question is asked in … Continue Reading

C++ and Java Program to Add Two Time object

WAP in C++ & Java to declare a class Time with data members mm for minutes, ss for seconds and hh … Continue Reading

Deleting a node in Linked list

We have a linked list and we have to delete a given node from it. We are supposing that the linked list is having … Continue Reading

Given a linked list we have to find the length of linked list. Below are the programs in C/C++ and Java to find length of a linked list.

We have … Continue Reading

We have learned about the linked list in the previous post. In this post we are going to learn how to insert a node in a linked list. C++ and … Continue Reading