Skip to content

Latest commit

 

History

History
8 lines (5 loc) · 261 Bytes

README.md

File metadata and controls

8 lines (5 loc) · 261 Bytes

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