"VER002-Play with String" Editorial

PROBLEM LINKS problem

DIFFICULTY medium

PREREQUISITES simple concept of string

PROBLEM STATEMENT Given a string which contain alphabets and digits, from new string by replacing each digit by previous string of number of times of digit.

EDITORIALIST’S SOLUTION here