update problem
This commit is contained in:
parent
844a2f5905
commit
9c48019ae1
1 changed files with 11 additions and 0 deletions
11
problem
11
problem
|
@ -1 +1,12 @@
|
||||||
programmingpraxis.com February 9, 2021
|
programmingpraxis.com February 9, 2021
|
||||||
|
Alexey Grigorev says:
|
||||||
|
|
||||||
|
Most candidates cannot solve this interview problem:
|
||||||
|
|
||||||
|
Input: “aaaabbbcca”
|
||||||
|
|
||||||
|
Output: [(“a”,4), (“b”,3), (“c”,2), (“a”,1)]
|
||||||
|
|
||||||
|
Write a function that converts the input to the output. I ask it in the screening inverview and give it 25 minutes. How would you solve it?
|
||||||
|
|
||||||
|
Your task is to write the requested function. When you are finished, you are welcome to read or run a suggested solution, or to post your own solution or discuss the exercise in the comments below.
|
||||||
|
|
Loading…
Reference in a new issue