visa codesignal 17/11/2025 - failed

visa logo
visa
Rejected
November 17, 20253 reads

Summary

I recently took a Codesignal assessment for Visa and unfortunately did not pass. I encountered two specific coding problems, and I'm sharing them to help others prepare.

Full Experience

I just completed the Codesignal assessment for Visa and failed. I want to share the exact questions I received to help others who are preparing for this assessment. I hope this helps you.

Interview Questions (2)

Q1
Count Triples with Matching Ends
Data Structures & AlgorithmsEasy

Given a string text, count the number of substrings of length 3 where the first and last characters are the same.

Examples:

  • text = "" -> 0
  • text = "abc" -> 1 (for "abc")
  • text = "abcxccc" -> 2 (for "abc" and "ccc")

Q2
Max Digital Root of Numbers in a List
Data Structures & AlgorithmsEasy

Given a list of numbers readings, for each number, repeatedly add its digits until the result is a single digit (its digital root). Finally, return the maximum digital root found among all numbers in the list.

Example:

readings = [123, 456, 789, 101]
First round of sums:
  • 123 -> 1+2+3 = 6
  • 456 -> 4+5+6 = 15
  • 789 -> 7+8+9 = 24
  • 101 -> 1+0+1 = 2
Second round (for results > 9):
  • 6 (stays 6)
  • 15 -> 1+5 = 6
  • 24 -> 2+4 = 6
  • 2 (stays 2)
The digital roots are [6, 6, 6, 2]. The maximum is 6.

Discussion (0)

Share your thoughts and ask questions

Join the Discussion

Sign in with Google to share your thoughts and ask questions

No comments yet

Be the first to share your thoughts and start the discussion!