Question DSA-STR-0007
EasyWhat are two strings called if they contain the same characters with the same counts, in any order?
- A.
Anagrams
- B.
Palindromes
- C.
Show answer and explanation
Answer: A
For example, 'listen' and 'silent'.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Strings question
What are two strings called if they contain the same characters with the same counts, in any order?
Anagrams
Palindromes
Answer: A
For example, 'listen' and 'silent'.
Substrings
Prefixes