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

SDE - 2

WinZO
upvote
share-icon
4 rounds | 8 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 4 months
Topics: DSA , OOPS, System Design, Graphs, Trees, DP
Tip
Tip

Tip 1 : Prepare well for DSA rounds, majority is DSA
Tip 2 : Second priority would be System Design
 

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

Tip 1 : Write only those things which u have worked on
Tip 2 : Be clear

Interview rounds

01
Round
Medium
Online Coding Test
Duration60 minutes
Interview date17 Jun 2022
Coding problem4

1. Jump Game

Moderate
40m average time
35% success
0/80
Asked in companies
WalmartTata Consultancy Services (TCS)Groww

Given an array of non-negative integers ‘ARR’ of length ‘N’, you are initially positioned at the array's first index.

Each element in the array represents your maximum jump length at that position.

Return the minimum number of jumps required to reach the last index.

If it is not possible to reach the last index, return -1.

Example:
Input:

‘N’ = 3
‘ARR’ = [ 2, 1, 1 ]

The shortest way to reach index 2 is
Index 0 => Index 2
that requires only 1 jump.
Try solving now

2. Cycle Detection in a Singly Linked List

Moderate
15m average time
80% success
0/80
Asked in companies
CIS - Cyber InfrastructureUrban Company (UrbanClap)PhonePe

You are given a Singly Linked List of integers. Return true if it has a cycle, else return false.


A cycle occurs when a node's next points back to a previous node in the list.


Example:
In the given linked list, there is a cycle, hence we return true.

Sample Example 1

Try solving now

3. DBMS Question

Given two tables . Question was on taking the joins on 3 tables.

4. DBMS Question

Simple Max , min ,avg query on a table

02
Round
Medium
Video Call
Duration60 minutes
Interview date1 Jul 2022
Coding problem2

1. Longest Path

Moderate
25m average time
65% success
0/80
Asked in companies
PhonePeAmazonAccenture

You are given a Directed Acyclic Graph (DAG) with ‘E’ edges and ‘V’ vertices. A DAG is a type of graph with no directed cycles.

You have been given a source vertex ‘S’. Your task is to find the distance between ‘S’ and the farthest vertex reachable from ‘S’?

Example: Given a DAG graph :

Source node: 1
The farthest vertex in the above graph from vertex 1 is 2 via the route of vertex 3. So, the distance is 2.
Try solving now

2. Permutations of a String

Moderate
15m average time
85% success
0/80
Asked in companies
AdobePharmEasyGoogle

You are given a string 'STR' consisting of lowercase English letters. Your task is to return all permutations of the given string in lexicographically increasing order.

String A is lexicographically less than string B, if either A is a prefix of B (and A ≠ B), or there exists such i (1 <= i <= min(|A|, |B|)), that A[i] < B[i], and for any j (1 <= j < i) A[i] = B[i]. Here |A| denotes the length of the string A.

For example :

If the string is “bca”, then its permutations in lexicographically increasing order are { “abc”, “acb”, “bac”, “bca”, “cab”, “cba” }.
Note:
Given string contains unique characters.
Problem approach

Try to find connected components in this , thus can be solved easily.

Try solving now
03
Round
Hard
Video Call
Duration60 minutes
Interview date15 Jul 2022
Coding problem1

1. Remove maximum edges

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

You are given an undirected graph with ‘N’ nodes and ‘M’ edges. There are two players P1 and P2, who want to traverse the complete graph. There are three types of edges in the graph, type 1 edges can be traversed by player P1, type 2 edges can be traversed by player P2, and type 3 edges can be traversed by both P1 and P2.

You are supposed to find the maximum number of edges that can be removed from the graph so that both players P1 and P2 can reach any node of the graph.

For Example :

Example

In the above graph, we can remove both the edges connecting node 1 and node 2(of type 1 and type 2). The graph will be fully traversable by only type 3 edges.


Try solving now
04
Round
Easy
HR Round
Duration30 minutes
Interview date22 Jul 2022
Coding problem1

1. Basic HR Questions

Tell me about yourself.

What are your strengths and weaknesses

Here's your problem of the day

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

Skill covered: Programming

What is the output of print(type("Python"))?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
4 rounds | 8 problems
Interviewed by Amazon
7454 views
0 comments
0 upvotes
Analytics Consultant
3 rounds | 10 problems
Interviewed by ZS Associates
770 views
0 comments
0 upvotes
company logo
SDE - Intern
1 rounds | 3 problems
Interviewed by Amazon
2856 views
0 comments
0 upvotes
company logo
SDE - 2
4 rounds | 6 problems
Interviewed by Expedia Group
2197 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 2
5 rounds | 12 problems
Interviewed by Walmart
28856 views
8 comments
0 upvotes
company logo
SDE - 2
3 rounds | 4 problems
Interviewed by HashedIn
9327 views
0 comments
0 upvotes
company logo
SDE - 2
3 rounds | 5 problems
Interviewed by Amazon
6430 views
1 comments
0 upvotes