My Visa CodeSignal Experience (Bangalore November 2025)
Anonymous User
2559

I recently took the Visa CodeSignal test, and wanted to share the questions I remember — hope this helps anyone preparing!

There were 4 coding questions, all of varying difficulty.

Q1. Matrix with Growing Colors [Medium]
You’re given a matrix with cells of different colors (represented by numbers).
Each color “grows” simultaneously in all four directions (up, down, left, right) at the same pace.
If two adjacent cells have the same color, they pop and turn into 0.

You need to determine the final state of the matrix after all the growth and popping are done.

(Something along these lines — not 100% exact, didn’t get much time on this one.)

Q2. Return Grades Based on Marks[Easy]
A straightforward question:
Given a student’s mark, return the grade based on the range:

90–100 → A

80–<90 → B

70–<80 → C

and so on.

Q3. E-Scooter Distance on a Line[Easy]
You start at position 0 and are given an endpoint and positions of e-scooters along the line.
Each e-scooter can travel exactly 10 units.

A person walks until they find an available scooter.
If they take one, they must travel exactly 10 points with it.

You need to calculate how much total distance the person traveled using scooters.

endpoint = 20  
scooters = [7, 4, 14]

Q4. State Array with Operations[Easy]
Given an array of states [0,0,0,...] and a sequence of operations ["L", "L", "C1", "C10", "L", ...], apply them as follows:

"L" → Find the first 0 from the left and flip it to 1.

"C" → Flip the value at that index back to 0 (ignore its current value).

Finally, return the resulting state as a string, e.g., "10011000".

Disclaimer

I’ve tried to recollect and explain these questions to the best of my memory, so the wording or details might not be 100% exact.
Overall, the test wasn’t too hard — I’d say focus on easy to medium DSA questions, especially arrays, strings, and basic simulations.

Good luck to everyone preparing!

Comments (5)