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

SDE - 1

OYO
upvote
share-icon
3 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 2 Months
Topics: Data Structures & Algorithms (Array & Strings, Tree, LinkedList, HashMap), OOPS, System Design - Low Level and High Level, SOLID Principles, Multithreaded and Concurrency System
Tip
Tip

Tip 1 : Practice Leetcode and Geekforgeeks
Tip 2 : For Multithreaded and Concurrency System you can use Baeldung and some YouTube channels (Defog Tech)
Tip 3 : For System Design you can use Educative and some YouTube channels (Tech Dummies, Gaurav Sen)

Application process
Where: Referral
Eligibility: NA
Resume Tip
Resume tip

Tip 1 : Keep it simple and try to finish it in 2 pages only.
Tip 2 : Mention your project and technology properly and only put the information you have experience or you are handy.

Interview rounds

01
Round
Medium
Face to Face
Duration60 Minutes
Interview date5 Sep 2019
Coding problem2

This was the problem-solving round in which the interviewer asked 2 problems. First, you need to discuss the approach, when the interviewer is convinced with the approach then do start the coding.
Run the code for all of the test cases which was provided by the interviewer.

1. Distance between two nodes of a Tree

Moderate
25m average time
60% success
0/80
Asked in companies
PhilipsSAP LabsPhonePe

Given a binary tree and the value of two nodes, find the distance between the given two nodes of the Binary Tree.

Distance between two nodes is defined as the minimum number of edges in the path from one node to another.

Try solving now

2. Spiral Matrix

Easy
0/40
Asked in companies
GE (General Electric)AmazonSalesforce

You are given a N x M matrix of integers, return the spiral path of the matrix

Example Of Spiral Path

Spiral Path

Try solving now
02
Round
Medium
Face to Face
Duration60 Minutes
Interview date5 Sep 2019
Coding problem2

This was the problem-solving round in which the interviewer asked 2 problems. First, you need to discuss the approach, when the interviewer is convinced with the approach then do start the coding.

Run the code for all of the test cases which was provided by the interviewer.

1. Valid Parentheses

Easy
10m average time
80% success
0/40
Asked in companies
AmazonIntuitOracle

You're given a string 'S' consisting of "{", "}", "(", ")", "[" and "]" .


Return true if the given string 'S' is balanced, else return false.


For example:
'S' = "{}()".

There is always an opening brace before a closing brace i.e. '{' before '}', '(' before ').
So the 'S' is Balanced.
Problem approach

I have solved this by using stack.

Try solving now

2. Next Permutation

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

You have been given a permutation of ‘N’ integers. A sequence of ‘N’ integers is called a permutation if it contains all integers from 1 to ‘N’ exactly once. Your task is to rearrange the numbers and generate the lexicographically next greater permutation.

To determine which of the two permutations is lexicographically smaller, we compare their first elements of both permutations. If they are equal — compare the second, and so on. If we have two permutations X and Y, then X is lexicographically smaller if X[i] < Y[i], where ‘i’ is the first index in which the permutations X and Y differ.

For example, [2, 1, 3, 4] is lexicographically smaller than [2, 1, 4, 3].

Problem approach

We can check the lesser digit from last by comparing digits and replacing the elements we found. Sort the rest of the elements which was present after replacement in right of it.

Try solving now
03
Round
Medium
Face to Face
Duration60 Minutes
Interview date5 Sep 2019
Coding problem1

This was the Low-Level Design round.

1. System Design Question

Design Chess

Problem approach

Tip 1 : Explain the design whatever you are thinking about and keep discussing with the Interviewer.
Tip 2 : Try to focus on the OOPS concept also when you are designing.
Tip 3 : Try to use Design patterns whenever required.

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
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by OYO
4898 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 9 problems
Interviewed by OYO
0 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 4 problems
Interviewed by OYO
1064 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 5 problems
Interviewed by OYO
837 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