EasyRememberHash TablesMultiple Choice

What is the time complexity of checking if a string is an anagram of another using a frequency array?

Remember Tests recall of fundamental facts and definitions.

Answer Options

AO(1)
BO(n)
CO(n log n)
DO(n²)

Want to see the correct answer?

Get the answer with a detailed explanation, plus practice 32+ more Hash Tables questions with adaptive quizzes and timed interviews.

See the Answer on Guru Sishya →

This question is from the Hash Tables topic (Data Structures).

More Hash Tables Questions