Question DSA-STR-0079
HardWhat is the longest common prefix of 'interview', 'internet', 'interval' and 'internal'?
- A.
intern
- B.
in
- C.
int
- D.
inter
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Strings question
What is the longest common prefix of 'interview', 'internet', 'interval' and 'internal'?
intern
in
int
inter
Sign up free to see the answer and a step-by-step explanation.