filmov
tv
HackerRank Problem Solution 4 - Anagrams
![preview_player](https://i.ytimg.com/vi/w23WHguYS40/maxresdefault.jpg)
Показать описание
#hackerrank #hackerranksolutions #java #hashmap #anagrams #anagram
#hackerrank
#hackerrank java
#hackerrank java problem solving
#hackerrank java basic certification answers
Two strings, and , are called anagrams if they contain all the same characters in the same frequencies. For this challenge, the test is not case-sensitive. For example, the anagrams of CAT are CAT, ACT, tac, TCA, aTC, and CtA.
Function Description
Complete the isAnagram function in the editor.
isAnagram has the following parameters:
string a: the first string
string b: the second string
Returns
boolean: If and are case-insensitive anagrams, return true. Otherwise, return false.
#hackerrank
#hackerrank java
#hackerrank java problem solving
#hackerrank java basic certification answers
Two strings, and , are called anagrams if they contain all the same characters in the same frequencies. For this challenge, the test is not case-sensitive. For example, the anagrams of CAT are CAT, ACT, tac, TCA, aTC, and CtA.
Function Description
Complete the isAnagram function in the editor.
isAnagram has the following parameters:
string a: the first string
string b: the second string
Returns
boolean: If and are case-insensitive anagrams, return true. Otherwise, return false.