## Count of adjacent Vowel Consonant Pairs

Given a string, the task is to count the number of adjacent pairs such that the first element of the pair is a consonant and… Read More »

- Methods to concatenate string in C/C++ with Examples
- Java Program to print distinct permutations of a string
- Find the first maximum length even word from a string
- Repeated Character Whose First Appearance is Leftmost
- Count common characters in two strings
- Operations required to make the string empty
- Java ArrayList to print all possible words from phone digits
- Check whether two strings contain same characters in same order
- Program to find the kth character after decrypting a string
- Check for balanced parentheses in an expression | O(1) space | O(N^2) time complexity
- Count of words that are present in all the given sentences
- Generate all permutations of a string that follow given constraints
- Find the longest string that can be made up of other strings from the array
- Minimum length substring with exactly K distinct characters
- Maximize the happiness of the groups on the Trip
- Count pairs of non-overlapping palindromic sub-strings of the given string
- Count occurrences of a string that can be constructed from another given string
- Find the minimum number of preprocess moves required to make two strings equal
- Find the number of binary strings of length N with at least 3 consecutive 1s
- Check if two strings are same ignoring their cases
- Minimum steps to delete a string by deleting substring comprising of same characters
- Convert character array to string in C++
- Maximize the value of A by replacing some of its digits with digits of B
- Print the longest prefix of the given string which is also the suffix of the same string
- Minimum rotations required to get the same String | Set-2
- Find k-th character of decrypted string | Set - 2
- Rearrange characters in a string such that no two adjacent are same using hashing
- Distinct palindromic sub-strings of the given string using Dynamic Programming
- Count substrings that contain all vowels | SET 2
- Count of integers of length N and value less than K such that they contain digits only from the given set

Given a string, the task is to count the number of adjacent pairs such that the first element of the pair is a consonant and… Read More »

A trip to mystical land is going to be organized in ByteLand, the city of Bytes. Unfortunately, there are limited seats say A and there… Read More »

Given two strings s1 and s2, the task is to find whether the two string contain the same characters that occur in the same order.… Read More »

Given a string S of length N consisting of lower-case English albhabets and an integer ‘l’, find the number of distinct sub-strings of length ‘l’… Read More »

Given an array of strings arr[] and Q queries where each each query consists of a string str, the task is to find the longest… Read More »

Given a string str of lower case alphabets and a non-negative integer K. The task is to find the number of pairs of characters in… Read More »

Given two strings str1 and str2, the task is to find and print the uncommon characters of the two given strings in sorted order without… Read More »

Given a string str, the task is to count the number of ways a palindromic sub-string could be formed by concatenation of three sub-strings x,… Read More »

Given a string S consisting of character from ‘a’ to ‘z’. The task is to find the length of the largest substring of S which… Read More »

Given a string str of size N, the task is to find the sum of all ASCII values of the characters which are present at… Read More »

Given a string and a character, the task is to make a function which counts the occurrence of the given character in the string using… Read More »

Given a tree, and the weights (in the form of strings) of all the nodes, the task is to count the nodes whose weighted string… Read More »

This article shows how to convert a character array to a string in C++. The std::string in c++ has a lot of inbuilt functions which… Read More »

Given a tree, and the weights (in the form of strings) of all the nodes, the task is to count the nodes whose weights does… Read More »

Given two strings A, B and some queries consisting of an integer i, the task is to check whether the sub-string of A starting from… Read More »