Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Digit frequency

Instructions

Given two integers implement a function which determines if they have the same frequency of digits.

Challenge | Solution

Examples

equalDigitFrequency("123", "321") // true

equalDigitFrequency("4557", "745") // false

Hints

Hint 1 Use frequency map