Aditya Birla group interview experience Real time questions & tips from candidates to crack your interview

SDE - 1

Aditya Birla group
upvote
share-icon
2 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Journey
I came to know about this job from their official site. I applied for this job and got selected for the exam, then I took the exam and got selected for the interview.
Application story
I applied for this profile on the company website, where I got the test link after applying for the jobs.
Why selected/rejected for the role?
I could not answer the optimal approach for a problem, so I was rejected in the interview.
Preparation
Duration: 6 months
Topics: Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic Programming
Tip
Tip

Tip 1: Graphs should be on your tips.
Tip 2: While explaining the solution to the interviewer, don't just hop onto the most optimal solution. Start with the brute force one, give the cons of the brute force solution, and then go step by step till you reach the optimal solution.
Tip 3: Improve your communication skills as well.

Application process
Where: Company Website
Eligibility: Above 6 CGPA
Resume Tip
Resume tip

Tip 1: Mention only what is required for your profile. For example, do not stress too much about your co-curricular stuff. Instead, try explaining more of your technical stuff that is relevant to your job.
Tip 2: Keep it limited to 1 page. Make sure it's a PDF and not an image.

Interview rounds

01
Round
Medium
Video Call
Duration60 minutes
Interview date22 Jun 2023
Coding problem2

1. Count Strongly Connected Components (Kosaraju’s Algorithm)

Hard
40m average time
65% success
0/120
Asked in companies
Morgan StanleyMedia.netAtlassian

You are given an unweighted directed graph having 'V' vertices and 'E' edges. Your task is to count the number of strongly connected components (SCCs) present in the graph.

A directed graph is said to be strongly connected if every vertex is reachable from every other vertex. The strongly connected components of a graph are the subgraphs which are themselves strongly connected.

Note :
Use zero-based indexing for the vertices.

The given graph doesn’t contain any self-loops.
Problem approach

I used Kosaraju’s algorithm to find the strongly connected components (SCCs) in the directed graph.

Try solving now

2. Minimum Number Of Taps To Water Garden

Hard
15m average time
85% success
0/120
Asked in companies
AppleBNY MellonOla

The gardener wants to water the garden by opening the minimum number of taps. The garden is one-dimensional along the x-axis of length N i.e. the garden starts from point 0 and ends at point N. There are N + 1 tap located at points [0, 1, 2, …, N] in the garden.

You are given an integer N, and an array named “ranges” of size N + 1(0-indexed). The ith tap, if opened, can water the gardener from point (i - ranges[i]) to (i + ranges[i]) including both. The task is to find the minimum number of taps that should be open to water the whole garden, return -1 if the garden can not be watered.

Example :

Watering The Garden

Follow Up:
Can you solve the problem in O(N) time?
Problem approach

I solved this problem using a greedy approach.

Try solving now
02
Round
Easy
Video Call
Duration60 minutes
Interview date22 Jun 2023
Coding problem2
Hard
20m average time
80% success
0/120
Asked in companies
Goldman SachsUberApple

You are given an arbitrary binary tree, a node of the tree, and an integer 'K'. You need to find all such nodes which have a distance K from the given node and return the list of these nodes.


Distance between two nodes in a binary tree is defined as the number of connections/edges in the path between the two nodes.


Note:

1. A binary tree is a tree in which each node has at most two children. 
2. The given tree will be non-empty.
3. The given tree can have multiple nodes with the same value.
4. If there are no nodes in the tree which are at distance = K from the given node, return an empty list.
5. You can return the list of values of valid nodes in any order. For example if the valid nodes have values 1,2,3, then you can return {1,2,3} or {3,1,2} etc.
Example :

Sample Output 2 explanation

Consider this tree above. The target node is 5 and K = 3. The nodes at distance 1 from node 5 are {2}, nodes at distance 2 from node 5 are {1, 4} and nodes at distance 3 from node 5 are {6, 3}.
Try solving now

2. Ninja's Encryption

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

Ninja has created his own encryption technique to encrypt a number. He makes use of the logic behind factorial. In a factorial, we multiply the number by its previous number and so on but if we want to encrypt a number we don’t multiply in every step like in the case of factorial but multiply, divide, add and subtract and repeat in the same order.

So your task is to find the encrypted form of a number using the ninja encryption technique and you were being provided with the number.

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
SDE - 1
3 rounds | 7 problems
Interviewed by OYO
4657 views
0 comments
0 upvotes
SDE - 1
3 rounds | 5 problems
Interviewed by Aditya Birla group
930 views
0 comments
0 upvotes
SDE - 1
3 rounds | 6 problems
Interviewed by Aditya Birla group
962 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 9 problems
Interviewed by Salesforce
3451 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
114579 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
57825 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
34961 views
7 comments
0 upvotes