Piramal Group interview experience Real time questions & tips from candidates to crack your interview

SDE - 1

Piramal Group
upvote
share-icon
3 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Journey
Before cracking any interview, one needs to strengthen their basics. So, I started practising DSA and reading all the vital topics and subjects like DBMS, DSA, Networking, and Operating Systems. After preparing the top 100 or 150 questions on each topic, I prepared all my projects and resume which was the most important step. Within my 4 year journey in college, I focused on DSA, Resume building and core fundamentals.
Application story
One google form was shared by employee of that company. We just had to upload resume and fill all details in the form. After the online test, around 2 days later, I got confirmation mail that I was selected for interviews.
Why selected/rejected for the role?
I was able to clear all the rounds. I think it was because I answered correctly to almost all the solutions, gave quick answers, had good projects listed on my resume, and had a little knowledge about the company. I was able to impress the interviewer.
Preparation
Duration: 4 months
Topics: C++, Data structures, OOPs, Pointers, Dynamic programming, Graphs, Operating system, DBMS, Networking
Tip
Tip

Tip 1 : Practice atleast(easy and medium questions from leetcode under(Top Interview Questions)) and all the questions from Gfg under(must to do coding questions for interviews))
Tip 2 : Don't learn each and every question you solved but try to solve question in a way that you can solve its variation during interviews
Tip 3 : Do one project(one is enough) which you can explain with full technical details (why you used this technology, and all logics you applied in implementation) 
Tip 4 : Atleast read the round 1 (Coding round) Archives from (Geeks for geeks or Glassdoor). To get your mind prepared for the types of questions that company usually asks.(Coding round is the toughest Step in the whole Process to clear)

Application process
Where: Referral
Eligibility: 7 CGPA
Resume Tip
Resume tip

Tip 1 : Have at least one project which you have made yourself and you should know all the technical questions related to that project (I feel project domain hardly matters like web development or android or ML/AI)
Tip 2 : You should Put only those skills in resume :
1. Which the company requires (eg if you know company doesn't require Networking domain knowledge so 
don't include it unnecessary if you are not much confident in it)
2. For on campus internships resume shortlisting is very easy so don't add anything unnecessary which might 
cause you pain during interview.

Interview rounds

01
Round
Medium
Online Coding Test
Duration90 minutes
Interview date6 Apr 2022
Coding problem2

1. Ninja and the Storyteller

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

Ninja is an avid story lover. Today, he decides to go to the famous Storyteller of Ninjaland to listen to new stories. The Storyteller takes 'Y' coins to tell one story. The Storyteller has also put on a special offer for Ninja that for every 'X' story that the Storyteller tells to Ninja, the Storyteller will tell one story to Ninja free of cost, i.e., without taking any extra coins. Ninja currently has 'Z' coins with himself. He wants to know how many stories the Storyteller will tell him if he goes to the Storyteller with 'Z' coins.

Try solving now

2. Best time to buy and sell stock

Moderate
30m average time
72% success
0/80
Asked in companies
InnovaccerTechwave ConsultingPiramal Group

You are given an array of integers 'prices' of size 'n', where ‘prices[i]’ is the price of a given stock on an ‘i’-th day. You want to maximize the profit by choosing a single day to buy one stock and a different day to sell that stock.


Please note that you can’t sell a stock before you buy one.


Problem approach

First I found that this can easily be done using the brute force approach of taking a hashmap for storing all the numbers (from min value in the input range to the maximum value in the input range )with their frequency of appearance. then I will again run a loop for each query range and output the values which will be greater than k.
in this solution 50% of the test cases gives TLE.

Then I realized that I need not to run the loop for each and every range rather I should take a array of 100000 size and :
first mark the start and end of each range in one loop
then fill the frequencies for the between elements by just looping from min to max value in my range
then for each query I got my answer in constant time by subtracting the frequency of the range elements from frequency array.

Try solving now
02
Round
Hard
Online Coding Test
Duration80 minutes
Interview date6 Apr 2022
Coding problem1

1. Path Sum

Easy
15m average time
80% success
0/40
Asked in companies
OracleFacebookAmazon

You are given the root node of a binary tree consisting of ‘N’ nodes and an integer value ‘TARGET’. Your task is to find the number of leaf nodes in the given binary tree such that the sum of all nodes from the root to leaf is equal to ‘TARGET’.

A leaf node is defined as a node having no child nodes.

You are given a root node ‘ROOT’.Your task is to return the number of leaf nodes satisfying the given condition.

Example:
Elements are in the level order form. The input consists of values of nodes separated by a single space in a single line. In case a node is null, we take -1 in its place.

For example, the input for the tree depicted in the below image would be :

Example

1
2 3
4 -1 5 6
-1 7 -1 -1 -1 -1
-1 -1

Explanation : 
Level 1 :
The root node of the tree is 1

Level 2 :
Left child of 1 = 2
Right child of 1 = 3

Level 3 :
Left child of 2 = 4
Right child of 2 = null (-1)
Left child of 3 = 5
Right child of 3 = 6

Level 4 :
Left child of 4 = null (-1)
Right child of 4 = 7
Left child of 5 = null (-1)
Right child of 5 = null (-1)
Left child of 6 = null (-1)
Right child of 6 = null (-1)

Level 5 :
Left child of 7 = null (-1)
Right child of 7 = null (-1)

The first not-null node (of the previous level) is treated as the parent of the first two nodes of the current level. 

The second not-null node (of the previous level) is treated as the parent node for the next two nodes of the current level and so on.

The input ends when all nodes at the last level are null (-1).
Note :
The above format was just to provide clarity on how the input is formed for a given tree. 

The sequence will be put together in a single line separated by a single space. Hence, for the above-depicted tree, the input will be given as:

1 2 3 4 -1 5 6 -1 7 -1 -1 -1 -1 -1 -1
Problem approach

First I just told him the most brute force approach of finding every possible path for every element of matrix then choose the maximum among those path and then store that max path in some other 2D matrix. He then discussed the time complexity of the solution
then I told him where the repetitions were occurring in this approach and then then I directly told him the best solution for this problem by using DP and starting from last element of mXn matrix

Try solving now
03
Round
Easy
HR Round
Duration30 minutes
Interview date6 Apr 2022
Coding problem1

1. Basic HR Questions

Why did you decide to apply to this role?
What experience do you have that would be relevant to this role?
Tell me about your experience on the particular technology?
What did you like most about the job description?

Problem approach

Tip 1 : The HR person is generally a very high experienced person so never tell him anything false just to impress him.
Tip 2 : Try to include only that things in your introduction where you want to drive your discussion further
Tip 3 : Try to show some interest in your growth and the work that they are offering you and in what sense they can help 
you build your skills better.

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
Software Engineer
3 rounds | 6 problems
Interviewed by Piramal Group
1038 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 5 problems
Interviewed by Meesho
6450 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 9 problems
Interviewed by Salesforce
3452 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