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

SDE - 1

Wipro pvt
upvote
share-icon
2 rounds | 7 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 4 months
Topics: Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic Programming in
Tip
Tip

Tip 1 : Sleep Well and Eat Well
Tip 2 : Practice by mock interviews

Application process
Where: Campus
Eligibility: No Criteria
Resume Tip
Resume tip

Tip 1 : Have put projects on JAVA
Tip 2 : Give skill set info correctly

Interview rounds

01
Round
Easy
Online Coding Interview
Duration60 Minutes
Interview date5 Jul 2022
Coding problem6

- Morning time
- Environment was good.
- No
- Interviewer was good

1. OS Question

1. In the case of the index allocation scheme of various blocks to a file, the maximum size (possible) of the file would depend on :

a. the total number of blocks that have been used for the index, size of all the blocks

b. the actual size of all blocks, the size of the blocks’ address

c. the of the blocks’ size, the blocks’ address size, and the total number of blocks that have been used for the index

d. None of the above

Problem approach

Tip 1 : Answer - A
Tip 2 : Read Galvin for OS thoroughly.

2. Glowing Bulbs

Hard
30m average time
60% success
0/120
Asked in companies
TCSJosh Technology Group

There are an infinite number of electric bulbs. Each bulb is assigned a unique integer starting from 1. There are ‘N’ switches also and each switch is labeled by a unique prime number. If a switch labeled with prime integer ‘p’ is turned ON, then all the bulbs having a number that is multiple of ‘p’ will start glowing. For example, if we turn ON the switch labelled 2, then all the bulbs having numbers 2, 4, 6, 8, 10, ... i.e all bulbs with numbers as multiples of 2 will start glowing.

You are given an array/list ‘LABELS’ consisting of ‘N’ unique prime integers representing the label of the switches and an integer ‘K’. Your task is to find the integer assigned to Kth glowing bulb from the start when all these ‘N’ switches are turned ON.

Note :
1. Some bulbs can glow by multiple switches and some are not glowed by any switch.
2. If any of the switches that can glow a bulb is turned ‘ON’, then the corresponding bulb will glow.
Example :
Consider 3 switches with labels [3, 5,  7] and we need to find the 5th glowing bulb from the start after turning these 3 switches ON.
We can see that bulbs numbered  3, 6, 9, 15, 18 …  will glow if the switch having label 3 is turned ON.
The bulbs numbered 5, 10, 15, 20 … will glow if the switch having label 5 is turned ON.
The bulbs numbered 7, 14, 21, 28 … will glow if the switch having label 7 is turned ON.
It implies that bulbs numbered 3, 5, 6, 7, 9, 10, 14, 15, 18, 20, 21… will glow when these three switches are turned ON.
The 5th glowing bulb from start is assigned integer 9. Thus, we should return 9.
Try solving now

3. XOR Query

Hard
45m average time
60% success
0/120
Asked in companies
AmazonProtiumNokia

You are given a tree(root 0) with N vertex having N - 1 edges. You are also given an array ‘QUERY’ of size ‘Q’, where each query consists of an integer that denotes a node. You have to print the xor of all the values of nodes in the sub-tree of the given node.

Note:

Here XOR denotes the bitwise operator (^).
Try solving now

4. Magician and Chocolates

Easy
15m average time
85% success
0/40
Asked in company
Lenskart.com

In a magic event, you are given ‘N’ bags, each bag containing ‘A[i]’ chocolates. In one unit of time, you can choose any bag ‘i’ and eat all the chocolates ‘A[i]’ in that bag and then the magician fills the ith bag with floor(‘A[i]’ / 2) chocolates. Your task is to find the maximum number of chocolate you can eat in ‘K’ units of time.

Since the answer could be large, return answer modulo 10^9 + 7.

For Example:
For the array [ 4, 7, 9, 10] and ‘k’=2
In the first step, we can choose the last bag. So the answer will be 10 and the array will be [4, 7, 9, 5].
In the second step, we can choose the second last bag. So the answer will be 19 and the array will be [4, 7, 4, 5].
So the final output will be 19.
Try solving now

5. Running Median

Hard
46m average time
50% success
0/120
Asked in companies
OYOHikeSprinklr

You are given a stream of 'N' integers. For every 'i-th' integer added to the running list of integers, print the resulting median.

Try solving now

6. Bridges In A Graph

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

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.
Try solving now
02
Round
Medium
HR Round
Duration30 Minutes
Interview date15 Jun 2022
Coding problem1

- Morning time
- Environment was good.
- No
- Interviewer was good

1. Basic HR Questions

1- Have you been a mentor or had a mentor? 

2- Describe your responsibilities at your current job. 

3- What type of teams have you worked with? What was your role?

Problem approach

Tip 1 : Get Creative with Words
Tip 2 : Skills are Equally as Important

Here's your problem of the day

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

Skill covered: Programming

How do you remove whitespace from the start of a string?

Choose another skill to practice
Similar interview experiences
SDE - 1
2 rounds | 3 problems
Interviewed by Wipro pvt
1445 views
1 comments
0 upvotes
SDE - 1
2 rounds | 5 problems
Interviewed by Wipro pvt
1196 views
0 comments
0 upvotes
SDE - 1
3 rounds | 12 problems
Interviewed by Wipro pvt
0 views
0 comments
0 upvotes
SDE - 1
3 rounds | 4 problems
Interviewed by Wipro pvt
1073 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
115097 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
58238 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
35147 views
7 comments
0 upvotes