Mercedes-Benz Research and Development India interview experience Real time questions & tips from candidates to crack your interview

Software Engineer

Mercedes-Benz Research and Development India
upvote
share-icon
2 rounds | 2 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 1 months
Topics: Java, Spring boot, Angular, Database, DevOps
Tip
Tip

Tip 1 : Clear your Basics
Tip 2 : Be Confident
Tip 3 : Prepare everything about your Previous project

Application process
Where: Other
Eligibility: 6.4 CGPA
Resume Tip
Resume tip

Tip 1 : Highlight your skills
Tip 2 : Have some projects on resume.

Interview rounds

01
Round
Easy
Video Call
Duration60 minutes
Interview date31 May 2022
Coding problem1

1. Sort Array Of Strings

Easy
15m average time
85% success
0/40
Asked in companies
IBMGoldman SachsFlipkart limited

You are given an array of strings 'ARRSTR[]' of size 'N' and a character 'C'. Your task is to sort the 'ARRSTR[]' according to the new alphabetical order that starts with the given character 'C'.

Note:

1) The character ‘C’ is a lowercase English alphabet that is given as input.
2) For example, if the character is 'C' is "d" then, the alphabetical order starts with "d" will look like {d,e,f,....,y,z,a,b,c}.
3) Every string in the array consists of only lowercase English alphabets.
Problem approach

Step 1 : I first create comparator interface
Step 2 : Then used Comarator.sort
Step 3 : Then I gave solution with merge sort and interviewer was happy.

Try solving now
02
Round
Easy
Video Call
Duration60 minutes
Interview date21 May 2022
Coding problem1

1. Count Number of Subsequences

Moderate
15m average time
85% success
0/80
Asked in companies
Goldman SachsHCL TechnologiesAmazon

Given an array of non-negative integers ‘A’ and an integer ‘P’, find the total number of subsequences of ‘A’ such that the product of any subsequence should not be more than ‘P’.

A subsequence is a sequence that can be derived from another sequence by deleting some or no elements without changing the order of the remaining elements.
Note
You need to print your answer modulo 10^9 + 7.
For Example
Let us take  A = [1,2,3] and P = 4. 
All the subsequences not having product more than ‘4’ are {1}, {2}, {3}, {1,2}, {1,3}. Therefore count is equal to ‘5’.
Problem approach

Step 1 : I first applied bubble sort. It was not good enough.
Step 2 : Interviewer asked me to optimise the solution.
Step 3 : Then i gave solution with merge sort and interviewer was happy.

Try solving now

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 recursion?

Choose another skill to practice
Similar interview experiences
company logo
Data Engineer
2 rounds | 2 problems
Interviewed by Mercedes-Benz Research and Development India
3882 views
0 comments
0 upvotes
company logo
SDE - 1
4 rounds | 8 problems
Interviewed by Amazon
8518 views
0 comments
0 upvotes
company logo
Engineer(T9)
3 rounds | 3 problems
Interviewed by Mercedes-Benz Research and Development India
905 views
0 comments
0 upvotes
company logo
SDE - Intern
1 rounds | 3 problems
Interviewed by Amazon
3319 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Software Engineer
3 rounds | 7 problems
Interviewed by Optum
7873 views
1 comments
0 upvotes
company logo
Software Engineer
5 rounds | 5 problems
Interviewed by Microsoft
9973 views
1 comments
0 upvotes
company logo
Software Engineer
2 rounds | 4 problems
Interviewed by Amazon
4310 views
1 comments
0 upvotes