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

New Analyst

Deloitte
upvote
share-icon
3 rounds | 6 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 6 months
Topics: C++language,Data structures,OOPS,DBMS,OS,CN,Puzzles,Aptitude
Tip
Tip

Tip 1 : Practice at least 300 to 500 DSA questions
Tip 2 : Focus on project
Tip 3 : Never put false information in resume.

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

Tip 1 : Have good knowledge of resume.
Tip 2 : Do not put false information on resume.

Interview rounds

01
Round
Easy
Online Coding Interview
Duration90 minutes
Interview date19 Aug 2022
Coding problem3

The first round of MCQ+coding questions.The round was held for 90 minutes in which first 45 minutes allocated for MCQ questions and remaining 45 minutes for 3 coding questions.

1. Star Pattern

Easy
0/40
Asked in companies
BetsolDeloitte
Pattern for N = 4

picture

The dots represent spaces.
Problem approach

step 1. To read num which indicates the number of lines. 
step 2.We are diving the pattern into 2 halves that is LHS part and the RHS part. 
Ex : When num = 2 
LHS – 
1*2* 
3*
RHS – 
5*6 

step 3.Combining LHS and RHS we get the complete pattern.

Try solving now

2. Remove Duplicates

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

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.

Problem approach

Create an auxiliary array temp[] to store unique elements.
Traverse input array and one by one copy unique elements of arr[] to temp[]. Also keep track of count of unique elements. Let this count be j.
Copy j elements from temp[] to arr[] and return j

Try solving now

3. Longest Palindromic Substring

Moderate
35m average time
78% success
0/80
Asked in companies
AmazonPaytm (One97 Communications Limited)Tata Consultancy Services (TCS)

You are given a string ‘S’ of length ‘N’.

You must return the longest palindromic substring in ‘S’.

Note: Return any of them in case of multiple substrings with the same length.

Example:

Input: ‘S’ =’badam’

Output: ‘ada’

‘ada’ is the longest palindromic substring, and it can be proved that it is the longest possible palindromic substring.
Problem approach

Sort the array in ascending order.
Start traversing the array from the end.
The first number which is a palindrome is the required answer.
If no palindromic number is found then print -1

Try solving now
02
Round
Easy
Video Call
Duration45 minutes
Interview date22 Aug 2022
Coding problem2

So the basically the role that I had applied was of finance and management .So their main focus was on finance related questions then they asked some coding questions.The interview starts with introduction.This is very basic question and you will get this question definitely in every interview .So always be prepared for this question.I had given around 3 minutes of introduction and the interviewer was happy with my introduction.Then he looked at my resume.He told me that your resume is totally based on technical aspects.Then why do you want to join finance and management.I had given some satisfactory answer.Then he asked me some situational questions and I was able to give that questions answers.Then he asked me "Tell us about a scenario where you exhibited your leadership potentials." this question.And I had give me some answer which is related to my college activities .Then he asked me about what finance problems you have been faced in your whole life and how did you overcome that problem.The question was totally based on finance .Because he also know that the guys belongs to technical field.He didn;t expecting so much in the field of finance.He just checked whether this guy is having interest or not.Then he asked 2 puzzles.And then he asked me some programming related questions.Basic c++ questions were asked.and then he asked me about projected that I had mentioned in my resume.After the interview was over.The interviewer was happy with my all answers.

1. Puzzle

How do we measure forty-five minutes using two identical wires, each of which takes an hour to burn? We have matchsticks with us. The wires burn non-uniformly. So, for example, the two halves of wire might burn in 10 minutes and 50 minutes respectively

Problem approach

Tip 1:0 minutes – Light stick 1 on both sides and stick 2 on one side.
Tip 2:30 minutes – Stick 1 will be burnt out. Light the other end of stick 2.
Tip 3:45 minutes – Stick 2 will be burnt out. Thus 45 minutes is completely measured.

2. Puzzle

You have got someone working for you for five days and a gold bar to pay him. You must give them a piece of gold at the end of every day. What are the fewest number of cuts to the bar of gold that will allow you to pay him 1/5th each day?

Problem approach

Tip 1:Divide the gold bar into 5 equal units and make 2 cuts.Then after two cut there are three pieces of [1 unit and two 2 units] or [two 1 units and one 3 unit].And solved until the answers
Tip 2:Use pen and paper
Tip 3:At least give approach to the interviewer.

03
Round
Medium
HR Round
Duration15 to 20 minutes
Interview date22 Aug 2022
Coding problem1

The third round was on totally personal interest.So the round starts with introduction.

1. Basic HR Questions

He asked me about family background. Then he asked me why finance and management ?He just want to know my motive to join this role because my resume was totally based on technical aspects.Then he asked me questions based on company.Always have a company knowledge.Then he asked me about your favourite subjects related with your branch.I had given all the answers.At the end he asked me are you really interested in this role? And I said "Yes".And the interview was over.

Here's your problem of the day

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

Skill covered: Programming

Suppose list1 is [2, 133, 12, 12], what is max(list1) in Python?

Choose another skill to practice
Start a Discussion
Similar interview experiences
company logo
Software Engineer
2 rounds | 2 problems
Interviewed by Deloitte
871 views
0 comments
0 upvotes
company logo
Product Intern
2 rounds | 4 problems
Interviewed by Deloitte
766 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 3 problems
Interviewed by Deloitte
877 views
0 comments
0 upvotes
company logo
Product Engineering Intern
2 rounds | 5 problems
Interviewed by Deloitte
502 views
0 comments
0 upvotes