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

SDE - 1

Virtusa
upvote
share-icon
2 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 1 month
Topics: OOPS, Java, Data Structures, Algorithms, OS
Tip
Tip

Tip 1 : Java framework, Spring
Tip 2 : Coding Practice for all types of topics
Tip 3 : Previous Interview Experiences

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

Tip 1 : Mention at least 2 projects
Tip 2 : Do not mention anything that you are not aware of.

Interview rounds

01
Round
Easy
Online Coding Interview
Duration60 minutes
Interview date1 May 2021
Coding problem2

It was a pure coding round which consisted of 2 coding questions one on array and second one from linked list

1. Frequency In A Sorted Array

Easy
15m average time
85% success
0/40
Asked in companies
OlaAdobeMcAfee

You are given a sorted array 'ARR' and a number 'X'. Your task is to count the number of occurrences of 'X' in 'ARR'.

Note :
1. If 'X' is not found in the array, return 0.
2. The given array is sorted in non-decreasing order.
Problem approach

Standard problem, could be found at various websites.

Try solving now

2. Reverse A LL

Moderate
30m average time
65% success
0/80
Asked in companies
AdobeHCL TechnologiesMicrosoft

Ninjas is practicing problems on the linked list. He came across a problem in which he has given a linked list of ‘N’ nodes and two integers, ‘LOW’ and ‘HIGH’. He has to return the linked list ‘HEAD’ after reversing the nodes between ‘LOW’ and ‘HIGH’, including the nodes at positions ‘LOW’ and ‘HIGH’.

Problem approach

Standard problem, could be found at various websites.

Try solving now
02
Round
Easy
Face to Face
Duration30 minutes
Interview date7 May 2021
Coding problem2

It was also a DS based round. In this round, the interviewer asked me the difference between Linked list and array and he followed with a problem to code.

1. DS Theoery

  • What is the difference between a linked-list and an array?
Problem approach

Linked-list could be stored in a non-contiguous fashion in a storage media, but that is not the case for an array.

2. Bridges In A Graph

Moderate
25m average time
65% success
0/80
Asked in companies
CIS - Cyber InfrastructureOlaSamsung

Given an undirected graph of V vertices and E edges. Your task is to find all the bridges in the given undirected graph. A bridge in any graph is defined as an edge which, when removed, makes the graph disconnected (or more precisely, increases the number of connected components in the graph).

For Example :

If the given graph is :

graph

Then the edge between 0 and 4 is the bridge because if the edge between 0 and 4 is removed, then there will be no path left to reach from 0 to 4.and makes the graph disconnected, and increases the number of connected components.

Note :

There are no self-loops(an edge connecting the vertex to itself) in the given graph.

There are no parallel edges i.e no two vertices are directly connected by more than 1 edge.
Problem approach

We do DFS traversal of the given graph. In DFS tree an edge (u, v) (u is parent of v in DFS tree) is bridge if there does not exist any other alternative to reach u or an ancestor of u from subtree rooted with v. 

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
1630 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