Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Blog Directory  >  Software Blogs  >  Programming Blogs  >  Java, Struts 2, Spring, Hibernate, Solr, Mahout an programming Blog  > 

How To Find Middle Node Of A LinkedList
2019-10-22 11:24
In this article we will see How to find middle node of a LinkedList, in case the list contains odd number of node than to find first node i.e. {1,2,3,4} - Middle 2, {1,2,3,4,5} - Middle 3. I… Read More
Binary Search In Sorted Array Example
2019-10-22 09:33
In this article we will see How to search an element in a sorted array using Binary Search. If element is not found in the input array the method should return -1. Input: new int[] { 1, 2, 3… Read More
2019-10-09 16:43
In this article we will see How to group anagrams together from an array of words, An anagram is a word or phrase formed by rearranging the letters of a different word or phrase - e.g. "cat… Read More
2019-10-09 15:57
In this article we will see how to find prime factors of a given number, a prime number is a whole number greater than 1 whose only factors are 1 and itself. Input: 1Output: [1]Input: 17Outp… Read More
2019-10-09 15:31
In this article we will see how to find if a given string is a Pangram in Java. Input: String i = "The quick brown fox jumps over the lazy dog";Output: boolean o = true;Input: String i = "T… Read More
2019-10-09 14:56
In this article we will see how to find longest uniform substring in a given string in Java. Input: String i = "aaaabbccdddddddc";Output: String o = "ddddddd";We will use two variables while… Read More

Share the post

Java, Struts 2, Spring, Hibernate, Solr, Mahout an

×

Subscribe to Java, Struts 2, Spring, Hibernate, Solr, Mahout An

Get updates delivered right to your inbox!

Thank you for your subscription

×