From 9c48019ae1fe96fc03452fb57f1874c310ec316b Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Wed, 18 Aug 2021 19:24:49 +0900 Subject: [PATCH] update problem --- problem | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/problem b/problem index 3ee7baf..29cd89b 100644 --- a/problem +++ b/problem @@ -1 +1,12 @@ 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.