#
Algorithm Archive

Last updated on June 4th, 2017 at 12:16 am I have been posting data structure and algorithms programs on various topics such as Array,Queue, Stack ,Binary tree, LinkedList , String, Number, ArrayList, etc. So I …

In this post, we will see about Doubly LinkedList implementation in java. We have already seen the implementation of singly linked list. You can consider this as an extension of Singly linked list.It is quite …

Last updated on March 12th, 2017 at 07:08 pmIn this tutorial, we will see how to check if number is power of two. There are many approaches to check if number is power of two or …

Last updated on March 14th, 2017 at 10:19 amKadane algorithm is a famous algorithm to solve maximum subarray problem. Maximum subArray problem: From Wikipedia : In computer science, the maximum subarray problem is the task …

Last updated on March 14th, 2017 at 12:20 pm If you want to practice data structure and algorithm programs, you can go through data structure and algorithm interview questions. In this post, we will see how …

Last updated on March 14th, 2017 at 01:08 pm Fibonacci series is numerical series in which next number is sum of previous two numbers. For example : 0, 1, 1, 2, 3, 5, 8, 13, …

Last updated on March 15th, 2017 at 07:52 amIn this post, we will see how to find prime factors of a number in java. A prime number is a natural number greater than 1 that …

Last updated on March 14th, 2017 at 01:53 pm A palindrome is a word, phrase, number, or other sequence of symbols or elements that reads the same forward or reversed. For example: 12121 is palindrome …

Last updated on March 15th, 2017 at 07:51 amThis is easy question. It may not be asked you directly, but you can use this program to create many other complex program. A prime number is …

Last updated on March 14th, 2017 at 10:05 amIn this post, we will see about trie data structure in java. What is Trie : Trie is data structure which stores data in such a way …

Last updated on March 14th, 2017 at 12:49 pm If you want to practice data structure and algorithm programs, you can go through data structure and algorithm interview questions. We have already seen about breadth first …