Tag: String Algorithms
Given a string s containing only lower case English letters and the ‘?’ character, convert all the ‘?’ characters into lower case letters such that the final string does …
Given an array of strings, group anagrams together. Example: Input: , Output: , , ] Note: All inputs will be in lowercase. The order of your output does not …
We are given that the string “abc” is valid. From any valid string V, we may split V into two pieces X and Y such that X + Y …
Given a list of directory info including directory path, and all the files with contents in this directory, you need to find out all the groups of duplicate files …
Given a string, your task is to count how many palindromic substrings in this string. The substrings with different start indexes or end indexes are counted as different substrings …