Skip to content

Latest commit

 

History

History

2021.02-rle

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Run Length Printing

The solution to this interview problem:

Input: "aaaabbbcca"
Output: [("a", 4), ("b", 3), ("c", 2), ("a", 1)]
Write a function that converts the input to the output