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

Software Engineer

Deloitte
upvote
share-icon
2 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Journey
I restarted my coding journey in February 2024 by solving approximately 10-20 questions on coding platforms to familiarize myself with programming syntax and warm up my skills. Afterwards, I transitioned to more coding platforms, where I tackled data structures systematically, progressing from easy to medium-difficulty questions. I started with Linked Lists, solving around 20 questions, and then moved on to Hashing, Stacks, Queues, and Trees. My experience with Graphs was more limited, focusing mainly on BFS, DFS, and topological sort. In Dynamic Programming, I solved about 12-15 foundational problems, including classic challenges like the Longest Common Subsequence and Knapsack. My approach to problem-solving involved spending 10-15 minutes initially attempting to build a solution. If I struggled, I would consult resources like articles or YouTube tutorials to better understand the concepts. I kept these questions on my to-do list, revisiting them the next day or shortly after to code the solutions independently.
Application story
I secured this opportunity through an alumni referral. I prepared key concepts in Data Structures and Algorithms, along with relevant topics in subjects like Operating Systems and Database Management Systems. The interview primarily consisted of coding challenges and problem-solving questions, which I tackled using my preparation.
Why selected/rejected for the role?
I was not selected for the role due to several factors, which may have included a highly competitive candidate pool or specific skills and experiences that better matched other applicants. Additionally, they were looking for a candidate who could solve problems quickly and respond promptly in case of issues.
Preparation
Duration: 4 months
Topics: Data Structures, Pointers, OOP, System Design, Algorithms, Dynamic Programming, Hashing, Linked Lists, Queues, DBMS, OS
Tip
Tip

Tip 1: Craft a well-structured résumé that effectively highlights your skills and experiences.

Tip 2: Ensure you have a strong grasp of Data Structures and Algorithms, and thoroughly prepare on topics like Operating Systems (OS) and Database Management Systems (DBMS).

Application process
Where: Referral
Eligibility: 2+ YOE, (Salary Package: 18 LPA)
Resume Tip
Resume tip

Tip 1: Keep It Concise: Limit your resume to one page, focusing on your most relevant experiences and skills.
Tip 2: Be Honest: Never include false information on your resume

Interview rounds

01
Round
Medium
Video Call
Duration55 Minutes
Interview date2 Apr 2024
Coding problem2

The interview was scheduled for the late afternoon, which was convenient for me. The interviewer was friendly and approachable, encouraging me to explain my thought process and asking follow-up questions to understand my reasoning better.

1. Longest Substring Without Repeating Characters

Moderate
20m average time
80% success
0/80
Asked in companies
Morgan StanleyAmazonWalmart

Given a string 'S' of length 'L', return the length of the longest substring without repeating characters.

Example:

Suppose given input is "abacb", then the length of the longest substring without repeating characters will be 3 ("acb").
Problem approach

Step 1: First, I tried to solve the problem using the sliding window technique. Eventually, it worked fine, and the interviewer agreed.

Try solving now

2. JAVA related questions

  • Multiple questions on synchronization in Java.
  • The volatile keyword. (Learn)
  • Exception handling in Java. (Learn)
  • Hashing, collision resolution, and the role of load factor.
  • The Singleton design pattern.
  • Functional Interfaces in Java. (Learn)
Problem approach

Multiple theory questions were asked. I was able to answer most of them, and for some, I provided partial answers.

02
Round
Hard
Video Call
Duration75 minutes
Interview date11 Apr 2024
Coding problem2

1. Validate BST

Moderate
25m average time
0/80
Asked in companies
FacebookAmazonFreshworks

You have been given a binary tree of integers with N number of nodes. Your task is to check if that input tree is a BST (Binary Search Tree) or not.

A binary search tree (BST) is a binary tree data structure which has the following properties.

• The left subtree of a node contains only nodes with data less than the node’s data.
• The right subtree of a node contains only nodes with data greater than the node’s data.
• Both the left and right subtrees must also be binary search trees.
Example :

BST1

Answer :

Level 1: 

All the nodes in the left subtree of 4 (2, 1, 3) are smaller 
than 4, all the nodes in the right subtree of the 4 (5) are 
larger than 4.

Level 2 :

For node 2:
All the nodes in the left subtree of 2 (1) are smaller than 
2, all the nodes in the right subtree of the 2 (3) are larger than 2.
For node 5:
The left and right subtrees for node 5 are empty.

Level 3:

For node 1:
The left and right subtrees for node 1 are empty.
For node 3:
The left and right subtrees for node 3 are empty.

Because all the nodes follow the property of a binary search tree, the above tree is a binary search tree.
Problem approach

First, I tried to solve it using an in-order traversal, which should produce a sorted array. Then, the interviewer asked me to solve it without using extra space, so I maintained a valid range (min and max) for each node.

Try solving now

2. JAVA related questions

  • Java Concurrency Utilities.
  • Stream API, including examples like parallel streams and collectors.
  • Code snippet for designing microservices with Spring Boot (high-level structure).
  • Garbage collection algorithms. (Learn)
Problem approach

Tip 1: Answer only what has been asked, do not talk too much or too little. 
Tip 2: Don't try to guess the answers.

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
Consulting Engineer
2 rounds | 2 problems
Interviewed by Deloitte
2876 views
0 comments
0 upvotes
company logo
Salesforce Developer
3 rounds | 3 problems
Interviewed by Deloitte
0 views
0 comments
0 upvotes
company logo
Software Engineer
2 rounds | 2 problems
Interviewed by Deloitte
1375 views
0 comments
0 upvotes
company logo
Software Engineer
3 rounds | 5 problems
Interviewed by Deloitte
201 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Software Engineer
3 rounds | 7 problems
Interviewed by Optum
7874 views
1 comments
0 upvotes
company logo
Software Engineer
5 rounds | 5 problems
Interviewed by Microsoft
9973 views
1 comments
0 upvotes
company logo
Software Engineer
2 rounds | 4 problems
Interviewed by Amazon
4310 views
1 comments
0 upvotes