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

SDE - 1

OYO
upvote
share-icon
2 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Journey
I had some coding knowledge when I joined college, but I didn't actively pursue it until my second year. However, during my second year, I dedicated a lot of time to improving my coding skills. As a result, I received many offers and eventually decided to join Cisco as an intern in my fourth year. Following my internship, I received a PPO and have since started working full-time there.
Application story
OYO visited our campus for hiring, and I applied for the opportunity. After clearing the test, I progressed to the interview stage. It was a positive experience overall.
Why selected/rejected for the role?
I was rejected because I received an offer within the same range while the drive was ongoing, which resulted in me being moved out of the recruitment process. Despite this, it was a valuable learning experience.
Preparation
Duration: 4 Months
Topics: Data Structures, Algorithms, Aptitude, OOPS
Tip
Tip

Tip 1: Prioritize practicing previously asked interview questions as well as online test questions. 

Tip 2: Ensure you have a strong understanding of Data Structures and Algorithms (DSA). 

Tip 3: Develop at least two high-quality projects and ensure you understand every aspect of them thoroughly.

Application process
Where: Campus
Eligibility: B. Tech CSE, IT 2022 Batch​ with 7.00 CGPA and above, no current backlogs - Unplaced and placed students with Mass recruitment offers and PPO of INR 8.00 LPA and below​
Resume Tip
Resume tip

Tip 1: Include concise explanations of at least two impressive projects, covering all important points.

Tip 2: Ensure every skill is mentioned. 

Tip 3: Emphasize skills, projects, and experiences prominently in your resume.

Interview rounds

01
Round
Easy
Video Call
Duration60 Minutes
Interview date27 Aug 2021
Coding problem2

In this round, I was asked 2 DSA questions.

1. Row with max 1s

Moderate
20m average time
80% success
0/80
Asked in companies
AmazonUrban Company (UrbanClap)Microsoft

You are given a 2D matrix 'ARR' (containing either ‘0’ or ‘1’) of size 'N' x 'M', where each row is in sorted order.


Find the 0-based index of the first row with the maximum number of 1's.


Note :
If two rows have the same number of 1’s, return the row with a lower index.

If no row exists where at-least one '1' is present, return -1.


Example:
Input: ‘N’ = 3, 'M' = 3
'ARR' = 
[     [ 1,  1,  1 ],
      [ 0,  0,  1 ],
      [ 0,  0,  0 ]   ]

Output: 0

Explanation: The 0th row of the given matrix has the maximum number of ones.
Try solving now

2. Fractional Knapsack

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

You have been given weights and values of ‘N’ items. You are also given a knapsack of size ‘W’.

Your task is to put the items in the knapsack such that the total value of items in the knapsack is maximum.

Note:
You are allowed to break the items.
Example:
If 'N = 4' and 'W = 10'. The weights and values of items are weights = [6, 1, 5, 3] and values = [3, 6, 1, 4]. 
Then the best way to fill the knapsack is to choose items with weight 6, 1 and  3. The total value of knapsack = 3 + 6 + 4 = 13.00   
Try solving now
02
Round
Easy
Video Call
Duration60 Minutes
Interview date27 Aug 2021
Coding problem3

The second round was held on the same day. The interview started with my resume and projects. Then he asked me questions about the Operating System, puzzle, and DSA questions.

1. OS Questions

Difference between Process and Thread. (Learn)
Difference between Starvation and Deadlock. (Learn)
How can you prevent deadlock? (Learn)
What is Paging? (Learn)

Problem approach

Tip 1: Do practice of previously asked questions.
Tip 2: Explain the solution with examples.

2. Convert Bst To The Greater Sum Tree

Moderate
30m average time
70% success
0/80
Asked in companies
CultfitMathworksIntuit

You have been given a Binary Search Tree of integers. You are supposed to convert it to a greater sum tree such that the value of every node in the given BST is replaced with the sum of the values of all the nodes which are greater than the value of the current node in the tree.

A Binary Search Tree is a tree, whose internal nodes each store a value greater than all the values in the node's left subtree and less than those in its right subtree.

Note :

You need to modify the given tree only. You are not allowed to create a new tree.
For example:
For the given binary search tree

Example

11 will be replaced by {15 + 29 + 35 + 40}, i.e. 119.
2 will be replaced by {7 + 11 + 15 + 29 + 35 + 40}, i.e. 137.
29 will be replaced by {35 + 40}, i.e. 75.
1 will be replaced by {2 + 7 + 11 + 15 + 29 + 35 + 40}, i.e. 139.
7 will be replaced by {11 + 15 + 29 + 35 + 40}, i.e. 130.
15 will be replaced by {15 + 29 + 35 + 40}, i.e. 104.
40 will be replaced by 0 {as there is no node with a value greater than 40}.
35 will be replaced by {40}, i.e. 40.
Try solving now

3. Puzzle

How do we measure forty-five minutes using two identical wires, each of which takes an hour to burn? We have matchsticks with us. The wires burn non-uniformly. So, for example, the two halves of the wire might burn in 10 minutes and 50 minutes respectively.

Problem approach

Tip 1: Do practice of previously asked questions.
Tip 2: Speak out what you are thinking.

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
1 rounds | 3 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
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