Recro | SDE-2 | Bangalore | August 2023 | Reject
Anonymous User
801
Aug 17, 2023
Online Assessment
Total 12 questions.
- 10 MCQ questions.
- 2 coding questions.


Technical Interview
-
Given a input array of houses {0, 31, 65, 80, 121, 190, 203} and maxDistanceOfMailBox from house is 50.
come up with minimum number of mailboxes needs to be installed in the city. -
Given a linked list.
Input : 1->2->3->4->5->null , n=2 Ouptut: 2->1->4->3->5->null Input : 1->2->3->4->5->null , n=3 Output : 3->2->1-.5->4->null -
Predict Output.
interface DemoA { public void demo(); } class DemoB implements DemoA { public void demo() { // } } class DemoC implements DemoA { public void demo() { // } } class D { @Autowired private DemoA demoA public void demoMine() { demoA.demo(); } } -
Given
Userentity come up with URL and method types for following use cases.1. findAllUsers 2. findUserById -
Come up with ShoppingCart modelling to support following use cases,
1. User should be able to add product in the cart 2. user should be able to remove product in the cart 3. user should be able to list products in the cart -
Explain Garbage Collection and its types.
Comments (1)

