K-th Character After Repeated String Operations

Company: Teradata_7aug

Difficulty: medium