Java Discover

Java Discover is a Java technical blog mainly created for sharing our thoughts and programming question to the world of Java Programmers..

Leetcode: 463. Island Perimeter

›
You are given a map in the form of a two-dimensional integer grid where 1 represents land and 0 represents water. Grid cells are connec...

Enum.ordinal() Method in Java

›
Returns the ordinal of this enumeration constant (its position in its enum declaration, where the initial constant is assigned an ordinal o...

Find the Occurrences Of Each Character In a String

›
Find the Occurrences Of Each Character In a String without using collection. Here we are going to create simple array to store the charact...

Longest palindrome Sub-sequence from the given String using Dynamic Programming

›
Write a program to find the longest sub-sequence palindrome from the given string by using dynamic programming. For example Input String ...

How to create a graph using Java

›
Let's see simple graph creation using core java and printing all the vertex along with list of edges which goes from that particular Ve...

Add two numbers represented by linked lists using recursive

›
Add two numbers represented by linked lists using recursive method and generate the 3td linked with addition of 1st and 2nd linked list. ...

Reverse words in a given String using recursion

›
Reverse words in a given String using recursion. We need to reverse words by words in a given line and not the character in a given string....

Rotate matrix by clockwise

›
Given a NxN matrix and need to rotate by clockwise as given below Examples: Let's see simple java code to rotate given NxN mat...
›
Home
View web version
Powered by Blogger.