Loading...

The Secret Twins

A easy Python interview practice problem on DataDriven. Write and execute real python code with instant grading.

Domain
Python
Difficulty
easy
Seniority
junior, mid

Problem

Write a function that takes two strings and returns True if they are anagrams of each other. An anagram uses the same characters with the same frequencies. Treat the comparison as case-insensitive.

Practice This Problem

Solve this Python problem with real code execution. DataDriven runs your Python code in a sandboxed Docker environment and grades it instantly.