Virtusa Coding Questions: 13 Problems with Solutions
13 coding problems tagged Virtusa — 9 easy · 4 medium — with solutions in 13 languages. Plus a 2-week study plan by topic.
- Problems: 13
- By difficulty: 9 easy · 4 medium
- Languages: JavaScript, TypeScript, Python, Java, C++, C, C#, Go, Kotlin, Swift, Rust, PHP and Ruby
- Cost: Free on every plan; sign in to run and submit
13 problems the CodeKairo catalogue tags as commonly asked in Virtusa's coding rounds — 9 easy and 4 medium, no hard ones — each judged by hidden tests in 13 languages. The most common topics among them are Strings (6), Math (6) and Hash Table (4). The tag is the catalogue's own annotation of where a problem tends to come up — not a list published by Virtusa, which CodeKairo is not affiliated with.
Virtusa study plan by topic
All 13 problems tagged Virtusa over 2 weeks, about 5 h 20 min of solving, grouped by technique in the order they build on each other — Arrays, Strings, Hash Table and Math and 5 more. It ends with the Virtusa — Online Test & Coder Challenge mock.
Week 1: Arrays, Strings, Hash Table +5
12 problems on Arrays, Strings, Hash Table, Math, Two Pointers, Sliding Window, Queue and Recursion, easiest first within each topic.
- Second Largest Element Easy
- Longest Common Prefix Easy
- Two Sum Easy
- Palindrome Number Easy
- Roman to Integer Easy
- Disarium Number Easy
- Reverse String Easy
- Rotate Array Medium
- Reverse Words in a String Medium
- Longest Substring Without Repeating Characters Medium
- First Unique Character in a String Easy
- Fibonacci Number Easy
Week 2: Sieve of Eratosthenes
1 problem on Sieve of Eratosthenes.
- Count Primes Medium
Finally: the timed test
Sit the Virtusa — Online Test & Coder Challenge mock under the clock — the coding problems are only one part of the round.
Virtusa test patterns
- Virtusa — Online Test & Coder Challenge pattern guide and timed mock
The Virtusa recruitment process, round by round
All problems tagged Virtusa
Easy (9)
- Second Largest Element Array
- First Unique Character in a String Hash Table, String, Queue
- Disarium Number Math
- Fibonacci Number Math, Dynamic Programming, Recursion
- Roman to Integer Hash Table, Math, String
- Longest Common Prefix String
- Palindrome Number Math
- Reverse String Two Pointers, String
- Two Sum Array, Hash Table
Medium (4)
- Reverse Words in a String Two Pointers, String
- Count Primes Math, Sieve of Eratosthenes
- Longest Substring Without Repeating Characters String, Sliding Window, Hash Table
- Rotate Array Array, Math, Two Pointers
Topics Virtusa asks most
- Strings 6 problems
- Math 6 problems
- Hash Table 4 problems
- Arrays 3 problems
- Two Pointers 3 problems
- Counting 1 problem
- Sliding Window 1 problem
- Queue 1 problem
- Recursion 1 problem
- Sieve of Eratosthenes 1 problem
- Dynamic Programming 1 problem