Katkat
Online Assessment

Online Assessment with Perfect Substring and Connected Groups

VisaSoftware Engineer · Senior+ · Online Assessment · Aug 2026

Online Assessment First question: Perfect Substring Given a string s made up only of digits, and an integer k, we need to find the number of substrings that satisfy a specific condition: every distinct digit character that appears in the substring must appear exactly k times. Input: string s and integer k Output: the total count of substrings satisfying the condition Example: if s = "11020211" an…

Shared by a candidate · reported Aug 2026. Interview formats change; use it as a guide, not a script.