Virtusa interview experience Real time questions & tips from candidates to crack your interview

SDE - 1

Virtusa
upvote
share-icon
2 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Journey
I received that opportunity from Neural Hack. In Technical Interviewer asked Python, Project related Questions, and DBMS Questions. I had rejected in Interview round.
Application story
I received that opportunity from Neural Hack. In Technical Interviewer asked Python, Project related Questions, and DBMS Questions. I had rejected in the Interview round.
Why selected/rejected for the role?
Due to not gave proper answers well & a little bit nervous at that time. But rejection is a part of life. it gives the motivation to make Sucess.
Preparation
Duration: 3 months
Topics: Data Structures & Algorithms, Operating System, Object-Oriented Programming System, DBMS, CN
Tip
Tip

Tip 1 : Prepare DSA well and I personally recommend Coding Ninjas and GeeksForGeeks for interview preparation.
Tip 2 : Be confident & relaxed during the interview.
Tip 3 : Do revise your projects i.e how it works and what are its functionalities.

Application process
Where: Other
Eligibility: 7 CGPA
Resume Tip
Resume tip

Tip 1 : Make your resume short and try to make it one page only and mention all the skills that you are confident in.
Tip 2 : Do not put false things on your resume.

Interview rounds

01
Round
Medium
Online Coding Test
Duration180 minutes
Interview date12 Mar 2022
Coding problem3

3 Coding question, Only Java language allowed

1. Occurrence Of Each Word

Easy
10m average time
90% success
0/40
Asked in companies
BarclaysIBMCoinbase

You are given a string S of words. Your task is to count the occurrence of each word present in the string S. A word is a sequence of one or more non-space characters, and there can be multiple spaces between two words, and also there can be leading or trailing spaces in a string S.

For Example:
For the given string  “what we think we become”

“what”,” think”, and “become” occurs 1 time, and “we” occurs 2 times in the given string.
Problem approach

By using Hash map

Try solving now

2. Longest Common Subsequence

Moderate
0/80
Asked in companies
AmazonVisaRed Hat

You have been given two Strings “STR1” and “STR2” of characters. Your task is to find the length of the longest common subsequence.

A String ‘a’ is a subsequence of a String ‘b’ if ‘a’ can be obtained from ‘b’ by deletion of several (possibly, zero or all) characters. A common subsequence of two Strings is a subsequence that is common to both Strings.

Problem approach

By using Dynamic Programming

Try solving now

3. Wildcard Pattern Matching

Hard
50m average time
30% success
0/120
Asked in companies
AdobeGoldman SachsInfo Edge India (Naukri.com)

Given a text and a wildcard pattern of size N and M respectively, implement a wildcard pattern matching algorithm that finds if the wildcard pattern is matched with the text. The matching should cover the entire text not partial text.

The wildcard pattern can include the characters ‘?’ and ‘*’

 ‘?’ – matches any single character 
 ‘*’ – Matches any sequence of characters(sequence can be of length 0 or more)
Problem approach

By using DP but able not solved all test cases.

Try solving now
02
Round
Medium
Face to Face
Duration60 minutes
Interview date26 Mar 2022
Coding problem2

In Technical Interviewer asked Python, Project related Questions, and DBMS Questions.

1. Search an Element in an Array

Easy
15m average time
80% success
0/40
Asked in companies
Tata Consultancy Services (TCS)OracleCultfit

You have given a sorted array 'A' of 'N' integers.

Now, you are given 'Q' queries, and each query consists of a single integer 'X'. Your task is to check whether 'X' is present in array 'A' or not for each query. If 'X' exists in array 'A', you need to print 1 else print 0.

Note :

The given array is sorted in non-decreasing order. 
Problem approach

By using binary search.

Try solving now

2. Implement strStr()

Moderate
25m average time
70% success
0/80
Asked in companies
IBMFacebookSamsung R&D Institute

You are given two strings A and B. Find the index of the first occurrence of A in B. If A is not present in B, then return -1.

For Example:
A = “bc”, B = “abcddbc”.
String “A” is present at index 1, and 5(0-based index), but we will return 1 as it is the first occurrence of “A” in string “B”.
Follow Up:
Can you solve this in linear time and space complexity?
Try solving now

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

To make an AI less repetitive in a long paragraph, you should increase:

Choose another skill to practice
Similar interview experiences
SDE - 1
3 rounds | 5 problems
Interviewed by Virtusa
1730 views
0 comments
0 upvotes
SDE - 1
1 rounds | 3 problems
Interviewed by Virtusa
1631 views
0 comments
0 upvotes
SDE - 1
2 rounds | 5 problems
Interviewed by Virtusa
0 views
0 comments
0 upvotes
SDE - 1
2 rounds | 4 problems
Interviewed by Virtusa
1282 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
1 rounds | 2 problems
Interviewed by Tata Consultancy Services (TCS)
0 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 4 problems
Interviewed by Tata Consultancy Services (TCS)
6877 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 3 problems
Interviewed by BNY Mellon
6240 views
3 comments
0 upvotes