Question: You are given an array S consisting of N strings. Every string is of the same length M . Your task is to find a
You are given an array S consisting of N strings. Every string is of the same length M
Your task is to find a pair of strings in array S such that there exists a position in which both of the strings have the same letter.
Both the index in arrays S and the positions in the strings are numbered from zero.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
