## Check whether the given floating point number is a palindrome

Given a floating point number N, the task is to check whether it is palindrome or not. Input: N = 123.321 Output: Yes Input: N… Read More »

- Repeated Character Whose First Appearance is Leftmost
- Convert character array to string in C++
- Count substrings that contain all vowels | SET 2
- Find the longest string that can be made up of other strings from the array
- Minimum number of times A has to be repeated such that B is a substring of it
- Count of integers of length N and value less than K such that they contain digits only from the given set
- Java program to check whether a string is a Palindrome
- Minimum number of adjacent swaps to convert a string into its given anagram
- Rearrange characters in a string such that no two adjacent are same using hashing
- Check whether two strings contain same characters in same order
- Program to generate all possible valid IP addresses from given string | Set 2
- Implement a Dictionary using Trie
- Maximize the happiness of the groups on the Trip
- Largest substring with same Characters
- InfyTQ 2019 : Find the position from where the parenthesis is not balanced
- Check if a string can be obtained by rotating another string d places
- Minimum rotations required to get the same String | Set-2
- C++ program to compare two Strings using Operator Overloading
- Count of substrings which contains a given character K times
- Append a digit in the end to make the number equal to the length of the remaining string
- Reverse individual words with O(1) extra space
- Find uncommon characters of the two strings | Set 2
- Total number of odd length palindrome sub-sequence around each centre
- Optimally accommodate 0s and 1s from a Binary String into K buckets
- Minimum number of pairs required to make two strings same
- Longest string in an array which matches with prefix of the given string
- Swap characters in a String
- Rearrange the characters of the string such that no two adjacent characters are consecutive English alphabets
- Maximum length palindromic substring such that it starts and ends with given char
- Reverse the Sentence using Stack

Given a floating point number N, the task is to check whether it is palindrome or not. Input: N = 123.321 Output: Yes Input: N… Read More »

Given a string str consisting of lowercase English alphabets. The task is to change each character of the string with the next letter (in a… Read More »

Given an array s[] of N strings. The task is to find the number of pairs of indices (i, j) such that s[i] is an… Read More »

Given a string str of length N. The task is to find the number of integers obtained by replacing ‘?’ with any digit such that… Read More »

Given a string str of even size N consisting of lowercase English alphabets. The task is to find the number of rotated strings of str… Read More »

Given two strings str1 and str2, the task is to find the maximum number of times str1 occurs in str2 as a non-overlapping substring after… Read More »

Given a string str of length N, the task is to find the number of ways to insert only 2 pairs of parentheses into the… Read More »

Given a string array item[] and an integer array price[] where price[i] is the price of the item[i] when purchased from the ith shop. The… Read More »

Given a string str, the task is to swap adjacent characters of this string in C. Examples: Input: str = “geeks” Output: NA Not possible… Read More »

Given a string S of length N containing only lower case letters. Also, given Q queries where each query consists of an integer P such… Read More »

Given a large integer as a string str, the task is find the number of matchsticks required to represent it. Examples: Input: str = “56”… Read More »

FLAMES is a popular game named after the acronym: Friends, Lovers, Affectionate, Marriage, Enemies, Sibling. This game does not accurately predict whether or not an… Read More »

Given two strings str1 and str2, the task is to write a C Program to concatenate these two strings without using the strcat() function Examples:… Read More »

Given a string str, the task is to print the characters in decreasing order of their frequency. If the frequency of two characters is same… Read More »

Given a string str of lowercase characters, the task is to find the minimum number of characters that need to added to the string in… Read More »