ProDeveloperTutorialonJanuary 17, 2025 Strings: Find the first repeated word in a string Problem Statement: You are given a string, you need find the 1st repeated word in a string. Example Input: : "I am what I am"…
ProDeveloperTutorialonJanuary 17, 2025 Strings: Minimum number of flips to make binary string alternate Problem Statement: You are given a binary string of 0s and 1s. You need to find the min number of flips required to make the sequence…
ProDeveloperTutorialonJanuary 17, 2025 Strings: Longest Common Prefix Problem Statement: You are given an array of strings. You need to find the longest common prefix in that array of strings. Example Input:…
ProDeveloperTutorialonJanuary 17, 2025 Strings: Convert Roman Numerals to Decimal Problem Statement: You are given a roman numeral, you need to convert into it’s corresponding decimal value. Example Input: IX Output: 9…
ProDeveloperTutorialonJanuary 17, 2025 Strings: Count the number of string in 2D character array Problem Statement: You are given a string and a 2D char array. You need to count the number of times the string is there in the 2D array. The…
ProDeveloperTutorialonJanuary 17, 2025 Strings: Get the minimum number of inversions needed to make an expression balanced Problem Statement: You are given a string consisting of “{” and “}”. You need to find the minimum number of inversions…
ProDeveloperTutorialonJanuary 17, 2025 Strings: Convert a string into its mobile numeric keypad Problem Statement: You are given a string, you need to convert that string into its equivalent mobile numeric keypad sequence. Example Input :…
ProDeveloperTutorialonJanuary 17, 2025 Strings: Word Break Problem Problem Statement: You are given a word and series of dictionary. You need to check if the word can be broken down into multiple words that…
ProDeveloperTutorialonJanuary 17, 2025 Strings: Check balanced parenthesis Problem Statement: You are given a set of parenthesis and you need to check if the given parenthesis are in correct exp. Example Input:…
ProDeveloperTutorialonJanuary 17, 2025 Strings: Divide binary string into sub strings with equal number of 0s and 1s. Problem Statement: You are given a string, you need to find the maximum count of substrings with equal number of 0s and 1s. Example Input:…