## Maximum sum and product of the M consecutive digits in a number

Given a number in the form of a string. The task is to find the maximum sum and product of m consecutive digits that are… Read More »

- Minimum number of times A has to be repeated such that B is a substring of it
- Java program to check whether a string is a Palindrome
- Largest substring with same Characters
- InfyTQ 2019 : Find the position from where the parenthesis is not balanced
- C++ program to compare two Strings using Operator Overloading
- Swap characters in a String
- Rearrange the characters of the string such that no two adjacent characters are consecutive English alphabets
- Sort an array of strings according to string lengths using Map
- Convert an unbalanced bracket sequence to a balanced sequence
- Check whether two strings are anagrams of each other using unordered_map in C++
- Maximum number of given operations to remove the entire string
- Print characters and their frequencies in order of occurrence using a LinkedHashMap in Java
- Convert a String to an Integer using Recursion
- Maximum String Partition
- Number of substrings that start with "geeks" and end with "for"
- Lexicographically smallest string formed by appending a character from first K characters of a string | Set 2
- Round the given number to nearest multiple of 10 | Set-2
- String Range Queries to find the number of subsets equal to a given String
- Count number of substrings of a string consisting of same characters
- Check if the given string is vowel prime
- Count of words ending at the given suffix in Java
- Program to duplicate Vowels in String
- Count all substrings having character K
- Lexicographically smallest string of length N and sum K
- Compare two strings considering only alphanumeric characters
- Minimum given operations required to convert a given binary string to all 1's
- Minimum operations required to convert a binary string to all 0s or all 1s
- Encrypt the given string with the following operations
- Check duplicates in a stream of strings
- Frequency of a substring in a string using pthread

Given a number in the form of a string. The task is to find the maximum sum and product of m consecutive digits that are… Read More »

Given a string str. The task is to count the minimum number of elements to be removed so that pairwise consecutive elements are same Examples:… Read More »

Given a string of length N of lowercase characters containing 0 or more vowels, the task is to find the count of vowels occurred in… Read More »

Given two strings, the task is to check whether the frequencies of a character(for each character) in one string is a multiple or a factor… Read More »

Given a number N, the task is to find the smallest number not less than N, which has all digits odd. Examples: Input: N =… Read More »

Given a string str, the task is to count the number of alphabets having ascii in the range [l, r]. Examples: Input: str = “geeksforgeeks”… Read More »

Given an incomplete bracket sequence S. The task is to find the number of closing brackets ‘)’ needed to make it a regular bracket sequence… Read More »

Given an integer N. The task is to find the lexicographically smallest permutation of integer of the form: 12345…N such that no digit occurs at… Read More »

Given a binary string, the task is to count the minimum steps to remove substring “010” from this binary string. Examples: Input: binary_string = “0101010”… Read More »

Given a string containing only lowercase english alphabets. The task is to find the bitwise XOR of all the prime frequencies of the characters in… Read More »

Given a string, the task is to count the number of alphabets having ASCII value less than and greater than or equal to a given… Read More »

Given a string ‘S’ consisting of open and closed brackets, the task is find the number of ways in which each character of ‘S’ can… Read More »

Given an integer n and a set of characters A of size k, find a string S such that every possible string on A of… Read More »

Given a string S and a character X where , for some . The task is to return an array of distances representing the shortest… Read More »

CamelCase is the sequence of one or more than one words having the following properties: It is a concatenation of one or more words consisting… Read More »