Decoded String at Index
An encoded string S is given. To find and write the decoded string to a tape, the encoded string is read character by character, as follows:
If the character read is a letter, it is written to the tape. If the character read is a digit (0-9), the entire number is repeatedly written. Return the k-th letter (1-indexed) in the decoded string.
Ada AI
I want to discuss a solution
Help me solve this
Give more examples
What's wrong with my code?
How to use 'for loop' in javascript?
javascript (node 13.12.0)