The Fibonacci numbers are the numbers in an integer sequence, called the Fibonacci sequence, and characterized by the fact that every number after the first two is the sum of the two preceding ones. In this article I am going to show, how to generate fibonacci sequence using Java Stream API and later will discuss about the implementation.
Factorial of a non-negative integer n is multiplication of all integers smaller than or equal to n. In this article, we’re going to see how we can calculate factorial by using Java Stream API.
There are many ways to count the number of occurrences of a character in a String in Java. In this article, we’re going to see how we can check frequency of characters inside a string by using Java Stream API.
A palindrome is a word, phrase, number, or other sequences of characters which reads the same backward as forward. More specifically, A string is said to be a palindrome if the string read from left to right is equal to the string read from right to left. For Example, madam or racecar or the number 10201.
In this article, we’re going to see how we can check whether a given String is a palindrome using Java Stream API.