Tag: String Algorithms
You are given a list of lowercase alphabet strings words where each string is of the same length. Return whether there’s two strings that differ only in one index. …
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 …