Code360 powered by Coding Ninjas X Naukri.com. Code360 powered by Coding Ninjas X Naukri.com
Bajaj Electricals Ltd interview experience Real time questions & tips from candidates to crack your interview

SDE - 1

Bajaj Electricals Ltd
upvote
share-icon
2 rounds | 3 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 1 Month
Topics: Data Structure, OOPS, Algorithms, JavaScript, Html , Css
Tip
Tip

Tip 1 : Knowledge of api
Tip 2 : Practice Data Structure based questions.
Tip 3 : Do at least 1 project.

Application process
Where: Campus
Eligibility: Above 6 cgpa
Resume Tip
Resume tip

Tip 1 : Keep it short.
Tip 2 : Do not mention participation certificates.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration120 minutes
Interview date27 Feb 2021
Coding problem1

1. Application Question

Consume this API to upload your basic details like Name, Email, College Id, Registration No., and your Code to move to the next step. Any response other than ‘Your details have been submitted successfully’ and status code:200 would be considered un-successful attempt. You can retry in case of any response message other than ‘Your details have been submitted successfully’.

02
Round
Medium
Online Coding Interview
Duration120 minutes
Interview date27 Feb 2021
Coding problem2

1. Rat In A Maze

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

You are given a starting position for a rat which is stuck in a maze at an initial point (0, 0) (the maze can be thought of as a 2-dimensional plane). The maze would be given in the form of a square matrix of order 'N' * 'N' where the cells with value 0 represent the maze’s blocked locations while value 1 is the open/available path that the rat can take to reach its destination. The rat's destination is at ('N' - 1, 'N' - 1). Your task is to find all the possible paths that the rat can take to reach from source to destination in the maze. The possible directions that it can take to move in the maze are 'U'(up) i.e. (x, y - 1) , 'D'(down) i.e. (x, y + 1) , 'L' (left) i.e. (x - 1, y), 'R' (right) i.e. (x + 1, y).

Note:
Here, sorted paths mean that the expected output should be in alphabetical order.
For Example:
Given a square matrix of size 4*4 (i.e. here 'N' = 4):
1 0 0 0
1 1 0 0
1 1 0 0
0 1 1 1 
Expected Output:
DDRDRR DRDDRR 
i.e. Path-1: DDRDRR and Path-2: DRDDRR

The rat can reach the destination at (3, 3) from (0, 0) by two paths, i.e. DRDDRR and DDRDRR when printed in sorted order, we get DDRDRR DRDDRR.
Try solving now

2. Check if the Word is present in Sentence or not

Easy
15m average time
90% success
0/40
Asked in companies
AmazonWalmartIntuit

You have been given a sentence ‘S’ in the form of a string and a word ‘W’, you need to find whether the word is present in the given sentence or not. The word must be present as a complete string in the sentence and not a substring of some other word.

Note:

1. All the characters in the string and the word are in lowercase.
2. Length of the sentences and the words will always be greater than zero.
3. Words in the sentence will be separated by spaces.
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

How do you write a single-line comment in C++?

Choose another skill to practice
Start a Discussion
Similar interview experiences
company logo
SDE - 1
2 rounds | 4 problems
Interviewed by Bajaj Electricals Ltd
2497 views
0 comments
0 upvotes
company logo
SDE - Intern
1 rounds | 1 problems
Interviewed by Bajaj Electricals Ltd
1458 views
1 comments
0 upvotes
company logo
Data Scientist
4 rounds | 5 problems
Interviewed by Bajaj Electricals Ltd
1556 views
0 comments
0 upvotes
company logo
SDE - Intern
5 rounds | 7 problems
Interviewed by Bajaj Electricals Ltd
1470 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
104643 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
49760 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
31028 views
6 comments
0 upvotes