Sobes.tech
Intern — Middle

Determining whether one string is an anagram of another

livecode

Task condition

Given two strings src and dst. Return true if dst is an anagram of src, and false otherwise.

Example 1: Input: src = "anagram", dst = "nagaram" Output: true

Example 2: Input: src = "rat", dst = "car" Output: false