Last active
August 8, 2016 10:22
-
-
Save isbm/4a45610936a1ceb034f339b93db5bf2a to your computer and use it in GitHub Desktop.
"aaaaabbbbccccccaaaaaaa" to "5a4b6c7a"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Gustavo Moreira Freitas writes (https://www.linkedin.com/groups/25827/25827-6166706414627627011): | |
------------------------------------------ | |
A python test for an interview #1. | |
Today i did a simple test that you give a string to a function, | |
and then the return output should count the letters sequencially; | |
as following example: | |
in: "aaaaabbbbccccccaaaaaaa" => out: "5a4b6c7a" | |
I confess that i did not complete the question on the desired time, | |
however i wrote this following code that answer the question. | |
------------------------------------------ |
Author
isbm
commented
Aug 8, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment