Longest Palindromic Substring in Java
How to find the longest palindromic substring in java. To solve this problem, we will use 3 different ways let’s discuss them one by one
How to find the longest palindromic substring in java. To solve this problem, we will use 3 different ways let’s discuss them one by one
Evaluate the value of an arithmetic expression in Java, Reverse Polish Notation problem in Java. Problem Statement: Evaluate the value of an arithmetic expression in
Rotate array in Java using Intermediate Array, Bubble Rotate and Reversal. Let’s create a simple problem solving java program to understand the Rotation of an
ASCII value is the representation of number and Char in Decimal or Hexadecimal. Like ASCII value of capital ‘A’ is 065 and small ‘a’ is
Write a Program that removes duplicate characters from the string. Your program should read a sentence (string) as input from the user and return a
In this article, we will create a program in Java to manipulate ArrayList. Write a program that performs the following actions: Read 2n integers as
Java program to find String occurrences in the sentence, Obtain two strings from user as input. Your program should count the number of occurrences of
Write a program that finds the longest word from a sentence. Your program should read a sentence as input from the user and return the
Java program to replace char in the string, Obtain two strings from the user as input. Your program should modify the first string such that
Write a program to check if a given string is a palindrome and contains at least two different vowels. Note: Case Insensitive while considering vowel,