Interview QuestionComputer Scientists
- 0of 0 votes
You have been given a string and a number. You need to find the longest common suffix between string and substring(0 to number)
Example : String = "ababa"
Number is 3
Take a substring from 0 to 2 which is aba
now find the longest matching suffix between "ababa" and "aba"
Country: United States
Interview Type: Phone Interview