Bajaj Electricals Ltd interview experience Real time questions & tips from candidates to crack your interview

Android development Trainee

Bajaj Electricals Ltd
upvote
share-icon
4 rounds | 7 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 3 months
Topics: Data Structures, Algorithms, OOPS, Android fundamentals, Kotlin fundamentals, My project revison.
Tip
Tip

Tip 1 : Having at least one project on android will give you an upper edge.
Tip 2 : Project should be live.
Tip 3 : Learn about APIs, as first round would be an API based round.

Application process
Where: Campus
Eligibility: No backlogs
Resume Tip
Resume tip

Tip 1 : Do not put any project not done by you in your resume
Tip 2 : Put role specific projects. For eg- for android role, don't put Machine Learning projects, it won't help.

Interview rounds

01
Round
Easy
Assignment
Duration60 Minutes
Interview date10 Aug 2021
Coding problem1

1. Application Question

We were given an API link on which we had to send our data(name, branch, college etc) as request headers along with the binary of the code file as the request body. We had to send a PUT request to the given API. Maximum 10 attempts were allows to hit the API. You can use any programming language.

Problem approach

I coded in javascript using basic XMLHttpRequest to send the PUT request. Also i linked the js script to html file to trigger API call on button click and to use browser installed APIs for XMLHttpRequest.

02
Round
Easy
Online Coding Interview
Duration60 Minutes
Interview date10 Aug 2021
Coding problem2

1. Partition a set into two subsets such that the difference of subset sums is minimum.

Hard
10m average time
85% success
0/120
Asked in companies
Goldman SachsSterlite Technologies LimitedIntuit

You are given an array 'arr' containing 'n' non-negative integers.


Your task is to partition this array into two subsets such that the absolute difference between subset sums is minimum.


You just need to find the minimum absolute difference considering any valid division of the array elements.


Note:

1. Each array element should belong to exactly one of the subsets.

2. Subsets need not always be contiguous.
For example, for the array : [1, 2, 3], some of the possible divisions are 
   a) {1,2} and {3}
   b) {1,3} and {2}.

3. Subset-sum is the sum of all the elements in that subset. 
Example:
Input: 'n' = 5, 'arr' = [3, 1, 5, 2, 8].

Ouput: 1

Explanation: We can partition the given array into {3, 1, 5} and {2, 8}. 
This will give us the minimum possible absolute difference i.e. (10 - 9 = 1).
Try solving now

2. Majority Element lll

Moderate
10m average time
90% success
0/80
Asked in companies
AdobeSamsungHCL Technologies

You are given an array ‘ARR’ and another integer number ‘K’. Your task is to find the all elements of ‘ARR’ which occur more than or equals to ‘N/K’ times in ‘ARR’ and ‘N’ is the length of array ‘ARR’.

For example:

Given array ‘ARR = { 1, 2, 3, 3, 3, 3, 4, 4, 4, 1, 2 ,0}’ and ‘K = 4’

Answer is {3, 4} because ‘3’ occurs ‘4’ times and ‘4’ occurs ‘3’ times which is more than or equals to ‘12/ 4 =3’.

Try solving now
03
Round
Easy
Video Call
Duration35 Minutes
Interview date11 Aug 2021
Coding problem4

The interview was conducted on MS teams at 1.30pm. It was an online interview due to covid.

The interviewer first asked me about a short intro of mine. Then he asked about my resume, what all projects I have done.
Firstly I told my full stack project which was at the top of my resume. Interviewer asked was any of my project live, or I have developed just for resume. My full stack project was live with 35 users.

1. Technical Questions

He then asked me if I have done any Android projects. I did 2 projects on android, I told him in detail about my password manager app which is now live on Google Play Store (at time of interview it was not published). The interviewer seemed satisfied with my project work.

What are the type of intents in android?

What is the difference between Activity and Fragments?

2. Remove Duplicates

Easy
15m average time
80% success
0/40
Asked in companies
AmazonCIS - Cyber InfrastructurePayPal

Ninja is playing with numbers but hates when he gets duplicate numbers. Ninja is provided an array, and he wants to remove all duplicate elements and return the array, but he has to maintain the order in which the elements were supplied to him.

Try solving now

3. Reverse the String

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

You are given a string 'STR'. The string contains [a-z] [A-Z] [0-9] [special characters]. You have to find the reverse of the string.

For example:

 If the given string is: STR = "abcde". You have to print the string "edcba".
follow up:
Try to solve the problem in O(1) space complexity. 
Try solving now

4. Swap Two Numbers

Easy
10m average time
0/40
Asked in companies
CIS - Cyber InfrastructureErnst & Young (EY)Cybage Software

You are given two numbers 'a' and 'b' as input.


You must swap the values of 'a' and 'b'.


For Example:
Input: 
'a' = 8, 'b' = 5

Output:
5 8

Explanation:
Initially, the value of 'a' and 'b' is 8 and 5, respectively.

After swapping, the value of 'a' is 5, and the value of 'b' is 8.
Try solving now
04
Round
Easy
HR Round
Duration10 Minutes
Interview date12 Oct 2021
Coding problem0

I got a call from the HR the next day at around 11am. Others got the HR call previous day itself. 
The HR asked how as the interview process and what I liked about. I said the process was good and I liked the first API based round as it was unique in on-campus selection.

She asked me if I am hands-on in Angular and Android both. I replied YES as I have developed projects using both.

She asked me if I was OK joining this company as there would much work, mostly 6 days a week and sometimes on Sunday as well. At that time I was hesitant about answering this, and I thought I could try some more on-campus opportunities as it was just the first week of placements. I said NO to the HR during the call.

After the call I discussed with my parents about more opportunities and what was my chance of getting it. As I am from electrical branch most companies don't allow electrical students and also answering CS questions become difficult for clearing other interviews.

So, finally I called the HR again and told her I made my mind and I am ready to join my company, you can consider me for further process. The HR told she would consider me as well.

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
SDE - 1
2 rounds | 4 problems
Interviewed by Bajaj Electricals Ltd
2773 views
0 comments
0 upvotes
company logo
SDE - Intern
1 rounds | 1 problems
Interviewed by Bajaj Electricals Ltd
1835 views
1 comments
0 upvotes
company logo
Data Scientist
4 rounds | 5 problems
Interviewed by Bajaj Electricals Ltd
1812 views
0 comments
0 upvotes
company logo
SDE - Intern
5 rounds | 7 problems
Interviewed by Bajaj Electricals Ltd
1836 views
0 comments
0 upvotes