Recro | SDE-2 | Bangalore | August 2023 | Reject
- Result
- Rejected
- Location
- bangalore
- Posted
- 17 Aug 2023
Summary
I applied for an SDE-2 position at Recro in August 2023, which consisted of an online assessment followed by a detailed technical interview. Despite tackling several challenging problems, I unfortunately received a rejection.
How it went
My interview process for the SDE-2 role at Recro started with an Online Assessment. This round had a total of 12 questions, comprising 10 MCQ questions and 2 coding questions. Unfortunately, I don't have the specifics of the coding problems. Following the online assessment, I proceeded to the Technical Interview round where I was asked a series of questions covering data structures, algorithms, object-oriented design, and core computer science concepts.
Questions asked (6)
- 01
Minimum Mailboxes Installation
Data Structures & Algorithms
Given a sorted array of house locations, for example,
{0, 31, 65, 80, 121, 190, 203}, and a maximum distancemaxDistanceOfMailBox(e.g., 50) that a mailbox can cover from any house, determine the minimum number of mailboxes required to ensure all houses are within reach of at least one mailbox. - 02
Reverse Linked List in Groups
Data Structures & Algorithms
Given the head of a linked list and an integer
n, reverse the nodes of the listnat a time. If the number of nodes is not a multiple ofn, then the remaining nodes at the end should also be reversed. For example:- Input:
1->2->3->4->5->null,n=2
Output:2->1->4->3->5->null - Input:
1->2->3->4->5->null,n=3
Output:3->2->1->5->4->null
- Input:
- 03
Predict Output of Java Interface/Autowired Code
Other
Predict the output or discuss the behavior of the given Java code snippet, focusing on interface implementation and the
@Autowiredannotation, specifically what instance ofDemoAwould be injected into classD'sdemoAfield if no specific qualifier is used.interface DemoA { public void demo(); } class DemoB implements DemoA { public void demo() { // implementation for DemoB } } class DemoC implements DemoA { public void demo() { // implementation for DemoC } } class D { @Autowired private DemoA demoA; public void demoMine() { demoA.demo(); } } - 04
REST API Design for User Entity
System Design
Given a
Userentity, design appropriate RESTful URLs and specify the HTTP method types for the following use cases:- Find all users
- Find a user by ID
- 05
Shopping Cart Data Modelling
System Design
Design a data model for a shopping cart system that supports the following core use cases:
- A user should be able to add a product to their cart.
- A user should be able to remove a product from their cart.
- A user should be able to list all products currently in their cart.
- 06
Explain Garbage Collection and Its Types
Other
Explain the fundamental concept of Garbage Collection in programming languages. Elaborate on its purpose, how it works, and describe different types or common algorithms used for garbage collection.