The Visa Senior SWE online assessment contained three coding problems covering string validation, finding the earliest common meeting window, and maximizing an array-based score through constrained swaps. The assessment was proctored, requiring the camera to remain on while the screen was recorded.
Interview Details
Coding 1 — Count Valid Words
Given a string, return the number of valid words it contains. The prompt suggested first splitting the input on whitespace and then filtering the resulting tokens. Tokens containing digits should not count as words. Punctuation such as: , . ?! was allowed, while other special characters made the token invalid. For example, a rewritten input could be: She owns 3 houses ab##road, doesnt she? The invalid tokens are: 3ab##road, while the remaining valid words are:
She
owns
houses
doesnt
she?
She
owns
houses
doesnt
she?
so
Unlock Full Details
Create a free account to unlock this interview experience report.