Skip to content

Tag Archives: strings

Given a string in Snake Case, the task is to write a Java program to convert the given string from snake case to camel case… Read More
Given a date in the form of a string, the task is to write a Java Program to get the day, month, and year from… Read More
Given a string, the task is to write a Java program to check whether the string contains only alphabets or not. If so, then print… Read More
Given a string S of size N, the task is to count the occurrences of all the prefixes of the given string S. Examples:   Input:… Read More
Given two integers N and K, the task is to find the number of binary strings of length N having an even number of 1’s… Read More
Given a string str and an integer K, the task is to find the length of the longest sub-string S such that every character in… Read More
Given two strings S1 and S2 of length N and a positive integer K, the task is to find the lexicographically smallest string such that… Read More
A Dart string is a sequence of UTF-16 code units. With the same rule as that of Python, you can use either single or double… Read More
In this article, we will create our custom string class which will have the same functionality as the existing string class.The string class has the… Read More
Given a list of words where each word follows CamelCase notation, the task is to print all words in the dictionary that match with a… Read More