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

SDE - 1

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

Interview preparation journey

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

Tip 1 : Worked on communication skills
Tip 2 : Do atleast 1 project

Application process
Where: Campus
Resume Tip
Resume tip

Tip 1 : Mark skills with Bold letters.
Tip 2 : Mention projects on the resume

Interview rounds

01
Round
Medium
Online Coding Test
Duration60 minutes
Interview date17 Feb 2022
Coding problem5

First Technical Round

1. Common Digit Longest Subsequence

Moderate
31m average time
0/80
Asked in companies
OptumLinkedInAmazon

You have been given an array of 'N' Integers. Find the length of the longest subsequence such that each adjacent element of the subsequence has at least one digit in common.

Note :
A sequence 'A' is a subsequence of a sequence 'B' if 'A' can be obtained from 'B' by deletion of several (possibly, zero) elements. For example, [3,1] is a subsequence of [3,2,1] and [4,3,1], but not a subsequence of [1,3,3,7] and [3,10,4].
Problem approach

Step 1 : Apply data structure
Step 2 : Maximum length subsequence with one digit common is.

Try solving now

2. Sum Of Two Arrays

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

You are given two numbers 'A' and 'B' in the form of two arrays (A[] and B[]) of lengths 'N' and 'M' respectively, where each array element represents a digit. You need to find the sum of these two numbers and return this sum in the form of an array.

Note:

1. The length of each array is greater than zero.

2. The first index of each array is the most significant digit of the number. For example, if the array A[] = {4, 5, 1}, then the integer represented by this array is 451 and array B[] = {3, 4, 5} so the sum will be 451 + 345 = 796. So you need to return {7, 9, 6}.

3. Both numbers do not have any leading zeros in them. And subsequently, the sum should not contain any leading zeros.
Problem approach

Step 1 : Can replace the only by 1, 
Step 2 : So that the sum of both of these arrays becomes 10.

Try solving now

3. Chessboard Game

Easy
30m average time
70% success
0/40
Asked in companies
PayPalMorgan StanleyAmdocs

There is a chessboard of dimensions 15 X 15, and Alice and Bob start playing a game on it. The game is not chess, and involves just one coin.

The coordinates of the top left cell are (1,1) and the bottom right are (15,15). The coin is initially at (x,y). In each turn, the player whose turn it is can move the coin to any of the four cells (provided they are inside the board):

(x-2,y+1)
(x-2,y-1)
(x+1,y-2)
(x-1,y-2)

The figure below shows the possible moves of a coin at (5,4) (An 8 x 8 board is given in the image, but in the problem, it will always be a 15 x 15 board).

Alice makes the first move. Both Alice and Bob take alternate turns and move until it is not possible to move the coin anymore. The player unable to make a move loses.

For example:

If there is a coin at (1,1), Bob wins the game as Alice can make no move to start the game.
Try solving now

4. Minimum Maximum Value

Hard
0/120
Asked in company
Microsoft

You are given a mathematical expression ‘exp’ consisting of only two operators ‘+’ and ‘*’. You have to find the maximum and minimum value possible of the expression by placing valid parentheses anywhere in the expression.

For example:
You are given ‘exp’ = 1*2+4*5+3, here the minimum and maximum value of the expression occurs when , (1*2) + (4*5) + 3 = 25, and   1*(2 + 4) *(5 + 3) = 48. Hence the answer is [25, 48].
Problem approach

Step 1 : For test case #1, we can select elements and, the value of the expression, which is the minimum possible value. Another possible pair is 4 and 5.
Step 2 : For test case #2, we can select elements 4 and 7, the value of the expression is, which is the minimum possible 3

Try solving now

5. Minimum XOR

Easy
0/40
Asked in companies
Media.netNokia

Ninja is learning the bitwise operations to score well in his class test. He found an interesting question on bitwise XOR. The problem statement is as follows:

An array ‘ARR’ consists of ‘N’ numbers. The task is to find pair having the minimum XOR value.No, need to print the values of the element. Just print the minimum XOR value. Can you help Ninja to solve this problem?

For Example
If the array ‘ARR’ is [13,5,11,1], the answer will be 4, corresponding to the XOR value of 1 and 5.
Problem approach

Step 1 : N = 05, 50, 14, 41, 23, 32 satisfy given conditions.
Step 2 : Apply optimized approach to data structures

Try solving now
02
Round
Medium
HR Round
Duration10 minutes
Interview date6 Apr 2022
Coding problem1

1. Basic HR Questions

Tell me about yourself

Why should we hire you?

What are your strengths and weaknesses?

Problem approach

Tip 1 : Keep yourself align with mock interviews
Tip 2 : Practice more and more speaking

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 | 5 problems
Interviewed by Wipro pvt
1195 views
0 comments
0 upvotes
SDE - 1
3 rounds | 12 problems
Interviewed by Wipro pvt
0 views
0 comments
0 upvotes
SDE - 1
2 rounds | 7 problems
Interviewed by Wipro pvt
0 views
0 comments
0 upvotes
SDE - 1
3 rounds | 4 problems
Interviewed by Wipro pvt
1072 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
115096 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
58237 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
35146 views
7 comments
0 upvotes