Solve top-K and string rotation match | TikTok Interview Question