Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Digit frequency

Instructions

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

Challenge | Solution

Examples

equal_digit_frequency?('123', '321') # true

equal_digit_frequency?('4557', '745') # false

Hints

Hint 1 Use frequency map