Problem Statement: Given a binary string and integer k, the task is to find the minimum number of flips required
Continue readingCategory: String
Check if a String is a subsequence of other
Problem Statement: Let there are two strings S1 and S2. If the S1 is a subsequence of S2 return true
Continue readingFind word with highest number of repeated letters in string
Problem Statement: Write a program to find a word in a given string that has the highest number of repeated
Continue readingRemove brackets from an algebraic expression
In this article, we will solve the most asked interview question: “Remove brackets from an algebraic expression” Problem Statement: Remove
Continue readingFind the Position of a Substring within a String
In this article we will solve the most asked interview question: “Find the Position of a Substring within a String”
Continue readingPrint all the duplicates in the string
Print all the duplicates in the string Problem Statement: Given a string of characters from a to z. Print the
Continue readingFind the largest word in a String
Problem: Given a String, find the largest word in the string. Examples: Example 1: Input: string s=”Google Doc” Output: “Google”
Continue readingRemove All Duplicates from a String
Problem Statement: Given a String remove all the duplicate characters from the given String. Examples: Example 1: Input: s =
Continue readingMaximum occurring character in a string
Maximum occurring character in a string Problem Statement: Given a string, return the character that occurs the maximum number of
Continue readingFind Non-repeating characters of a String
Problem: Given a string, print non-repeating characters of the string. Examples: Example 1: Input: string = “google” Output: l,e Explanation:
Continue reading