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

Product Intern

Deloitte
upvote
share-icon
2 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Journey
I started proper programming in 3rd sem. But I wasn't consistent enough. I tried my hands on Codefroces, codechef etc. I learnt dev from Angela Yu Udemy course. I become serious about DSA since Jan'23. Started Daily Leetcode grind. Learnt DP basics from take u frorward. For graphs I followed LUV and codestorywithmhk.
Application story
I Applied through placement cell. After application there was a coding round. After coding round 21 students were shortlisted out of 217. 11 Students finally selected for the internship offer. I couldn't clear the final round
Why selected/rejected for the role?
I was rejected because I was not able to answer few questions properly. I answered 1-2 questions totally wrong.
Preparation
Duration: 2 months
Topics: DSA, Algorithms, Javascript, React, Express, mongodb
Tip
Tip

Tip 1 : Learn DSA properly
Tip 2 : Keep revisiing DSA and grind daily on leetcode
Tip 3 : Have indepth knowledge about resume and project

Application process
Where: Campus
Eligibility: 6 CGPA
Resume Tip
Resume tip

Tip 1: Don't mention anything which you are not sure about.
Tip 2: A half filled resume is better than unnecessary topics which you don't know.

Interview rounds

01
Round
Medium
Online Coding Test
Duration120 mins
Interview date11 Mar 2023
Coding problem3

There were 2 section 1 hour of each.
First section consist of two easy problem. Second section had 1 medium and 1 hard problem.

1. Rotate array

Easy
25m average time
80% success
0/40
Asked in companies
SalesforceIBMDell Technologies

Given an array 'arr' with 'n' elements, the task is to rotate the array to the left by 'k' steps, where 'k' is non-negative.


Example:
'arr '= [1,2,3,4,5]
'k' = 1  rotated array = [2,3,4,5,1]
'k' = 2  rotated array = [3,4,5,1,2]
'k' = 3  rotated array = [4,5,1,2,3] and so on.
Problem approach

Simple variaton of Rotate the array by k position .

Try solving now

2. Goodness of a String

Moderate
35m average time
65% success
0/80
Asked in companies
eBayFlipkartOracle

You are provided with a string ‘S’ which indicates the nested list. For example: “[1, [2, 3], [4, [5, 6] ] ]”. Each number present in the list has some depth. The depth of a particular number is the number of nested lists in which it is present. Consider the previous example in which the number ‘1’ is at depth 1, numbers ‘2’, ‘3’, and ‘4’ are at depth 2, and numbers ‘5’ and ‘6’ are at depth 3.

You have to find the goodness of the given string/nested list. The goodness of a string is the sum of the product of depths and elements present in the string.

For Example:

S = “[1, [2, 3], [4, [5, 6] ] ]”
Total depth  = 1*1 + 2*2 + 3*2 + 4*2 + 5*3 + 6*3 = 52

Note:

1. The given string may be empty. 
2. The string will not contain any white spaces. 
3. You have to take the modulo with 10 ^ 9 + 7 as the answer may be very large.
Try solving now

3. Maximum Depth Of A Binary Tree

Easy
15m average time
85% success
0/40
Asked in companies
FacebookTata Consultancy Services (TCS)Walmart

You are given the root node of a binary tree with N nodes, whose nodes have integer values. Your task is to find the maximum depth of the given Binary tree.

Depth of a binary tree is the same as its height. In simpler terms, you have to find the total number of nodes encountered while moving from the root node to the farthest leaf node, along the longest path of the binary tree.

Example:-

example

If we are given the above binary tree as input then moving from root node(5) to the farthest leaf node(50), the path formed will be [ 5->10->25->35->40->45->50 ]. The total number of nodes encountered is 7, therefore the maximum depth of the binary tree is 7.
Problem approach

DFS

Try solving now
02
Round
Easy
Face to Face
Duration15 mins
Interview date14 Mar 2023
Coding problem1

They asked about my projects only.

1. Technical Questions

said that we can make change in the database by making post request. So wrong !
Why have you choosed MERN stack?
Data Structure vs DataBase.
Can we create our own API.
What are the disadvantages of Virtual DOM. (Didn’t know at all) Answer is too much memory consumption
Why have you used MongoDB?
I was not clear at all with Database concepts, so much confusion.
I was not knowledgeable about SQL.
Why have you used Material UI? What is it? it’s alternatives (Ant design, I mispronounced it).
Why have you chosen React.Js for your project? What would have you used if not React.

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

Which SQL keyword removes duplicate records from a result set?

Choose another skill to practice
Similar interview experiences
company logo
Software Engineer
2 rounds | 2 problems
Interviewed by Deloitte
967 views
0 comments
0 upvotes
company logo
New Analyst
3 rounds | 6 problems
Interviewed by Deloitte
848 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 3 problems
Interviewed by Deloitte
977 views
0 comments
0 upvotes
company logo
Product Engineering Intern
2 rounds | 5 problems
Interviewed by Deloitte
556 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Product Intern
2 rounds | 8 problems
Interviewed by Adobe
1837 views
0 comments
0 upvotes
company logo
Product Intern
2 rounds | 4 problems
Interviewed by Adobe
1463 views
0 comments
0 upvotes
company logo
Product Intern
2 rounds | 3 problems
Interviewed by Adobe
1214 views
0 comments
0 upvotes