Write a function that creates a sequence that creates the next terms of a sequence where the next term counts the frequency of digits in the previous term
Anonymous
I wrote two FOR loops that split the term into individual digits, counted the frequency of each one, and built the return character by character.
Check out your Company Bowl for anonymous work chats.