Find the K-th Character in String Game I

Solution Code
Video GuideLeetcode Daily

Time Complexity

O(K)

Space Complexity

O(K)