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

SDE - 2

Intuit
upvote
share-icon
5 rounds | 7 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 1.5 months
Topics: Data Structures, Algorithms, System Design, Design Patterns, Core Java concepts, Solid Principles
Tip
Tip

Tip 1 : Be sound with fundamentals of Data Structures/Algorithms. Identifying the correct data structures in most of the problems is a good sign to judge the fundamentals. Once the fundamentals are sound, focus on solving problems from platforms like Leetcode, etc (Get comfortable with Easy & Medium/Medium-Hard problems. Hard problems might get overwhelming sometimes) 
Generally solving ~250 quality questions with 20% Easy, 60% Medium, 20% Hard problems get's one comfortable with interview preparation
Tip 2 : Design Patterns/System Design are equally important for SDE-2 and above. Practice applying design patterns and understand when and where which design pattern would be most suited
Tip 3 : Have clear understanding of work/personal project mentioned in the resume. It's always a big plus point knowing the impact of one's contribution in the project in terms of scalability/latecncy/defects etc

Application process
Where: Referral
Eligibility: 3+ YOE
Resume Tip
Resume tip

Tip 1 : Keep it short and concise (1-pager)
Tip 2 : Use standard layout format
Tip 3 : Mention the key contributions & impact in terms of numbers/percentage in past work experience

Interview rounds

01
Round
Medium
Online Coding Interview
Duration60 minutes
Interview date15 Aug 2021
Coding problem2

Online Assesment-
2 coding questions + 10 MCQ

1. Merge Two Sorted Linked Lists

Moderate
15m average time
80% success
0/80
Asked in companies
HSBCAmazonApple

You are given two sorted linked lists. You have to merge them to produce a combined sorted linked list. You need to return the head of the final linked list.

Note:

The given linked lists may or may not be null.

For example:

If the first list is: 1 -> 4 -> 5 -> NULL and the second list is: 2 -> 3 -> 5 -> NULL

The final list would be: 1 -> 2 -> 3 -> 4 -> 5 -> 5 -> NULL
Problem approach

Used two pointer approach to merge two sorted lists & attaching nodes at the head of current merged sorted list to maintain the sorted list in reverse order.

Try solving now

2. Group Anagrams

Moderate
30m average time
70% success
0/80
Asked in companies
AmazonAtlassianThales

You have been given an array/list of strings 'inputStr'. You are supposed to return the strings as groups of anagrams such that strings belonging to a particular group are anagrams of one another.

An anagram is a word or phrase formed by rearranging the letters of a different word or phrase. We can generalize this in string processing by saying that an anagram of a string is another string with the same quantity of each character in it, in any order.

Note:
The order in which the groups and members of the groups are printed does not matter.
For example:
inputStr = {"eat","tea","tan","ate","nat","bat"}
Here {“tea”, “ate”,” eat”} and {“nat”, “tan”} are grouped as anagrams. Since there is no such string in “inputStr” which can be an anagram of “bat”, thus, “bat” will be the only member in its group.
Problem approach

- Sort the strings and put into HashMap with key being sorted string and value being the actual unsorted string

Try solving now
02
Round
Hard
Assignment
Duration90 minutes
Interview date23 Aug 2021
Coding problem1

1. Design Question

Design an Online multiplayer game.
The API to be build was Top5HighScores() - returns the top 5 high scorers of all time

- Unit testing and scalability was expected

Problem approach

Tip 1 : Write down all the functional requirements and choose the appropriate design pattern
Tip 2 : Think about how the solution could be made scalable & what are the pros and cons of designing any other way
Tip 3 : Think about more than one design and justify why one could be suited over another based on feature/api priority

03
Round
Medium
Face to Face
Duration60 minutes
Interview date24 Aug 2021
Coding problem2

Timing - 2-3 PM
2 coding problems + Questions asked on Java, Design pattern

1. Top View Of Binary Tree

Moderate
25m average time
70% success
0/80
Asked in companies
MicrosoftMakeMyTripOYO

You are given a Binary Tree of 'n' nodes.


The Top view of the binary tree is the set of nodes visible when we see the tree from the top.


Find the top view of the given binary tree, from left to right.


Example :
Input: Let the binary tree be:

Example

Output: [10, 4, 2, 1, 3, 6]

Explanation: Consider the vertical lines in the figure. The top view contains the topmost node from each vertical line.
Problem approach

Step1 : Discussed which tree traversal would be appropriate for this problem and how hashmap might help in storing the relevant nodes
Step2 : Discussed about the nodes that might conflict and whom to prefer over other
Step3 : After doing the dry run, I coded the solution

Try solving now

2. Jump Game

Moderate
15m average time
85% success
0/80
Asked in companies
Deutsche BankGoldman SachsAmazon

You have been given an array 'ARR' of ‘N’ integers. You have to return the minimum number of jumps needed to reach the last index of the array i.e ‘N - 1’.


From index ‘i’, we can jump to an index ‘i + k’ such that 1<= ‘k’ <= ARR[i] .


'ARR[i]' represents the maximum distance you can jump from the current index.


If it is not possible to reach the last index, return -1.


Note:
Consider 0-based indexing.
Example:
Consider the array 1, 2, 3, 4, 5, 6 
We can Jump from index 0 to index 1
Then we jump from index 1 to index 2
Then finally make a jump of 3 to reach index N-1

There is also another path where
We can Jump from index 0 to index 1
Then we jump from index 1 to index 3
Then finally make a jump of 2 to reach index N-1

So multiple paths may exist but we need to return the minimum number of jumps in a path to end which here is 3.
Problem approach

Step1 : Gave brute force approach, on trying to reach the end from every possible index with all possible jumps
Step2  : Interviewer asked to optimize the solution
Step3 : Discussed how calculating the current max reach can solve the problem efficiently. Did dry run succesfuuly then coded

Try solving now
04
Round
Hard
Face to Face
Duration60 minutes
Interview date24 Aug 2021
Coding problem1

2 coding problems + Java + Design Patterns
Timing: 3:15 - 4:15 PM

1. Find K Pairs with Smallest Sums

Moderate
25m average time
75% success
0/80
Asked in companies
IntuitAdobeCitrix

You are given two arrays of positive integers say ‘arr1’ and ‘arr2’ and a positive integer ‘K’. Also ‘arr1’ and ‘arr2’ are already sorted in ascending order. Consider all pairs (x, y) such that ‘x’ belongs to ‘arr1’ and ‘y’ belongs to ‘arr2’. You need to find exactly ‘K’ such pairs with the smallest sum of ‘x’ and ‘y’.

Example:

Let ‘arr1’ be [ ‘1’, ‘2’, ‘6’ ] and ‘arr2’ be [ ‘3’, ‘3’, ‘5’ ] and ‘K’ be 3.

There are 9 possible (x, y) pairs such that ‘x’ belongs to ‘arr1’ and ‘y’ belongs to ‘arr2’. Among all of them 3 pairs with smaller ‘x’ + ‘y’ are [ (1, 3), (1, 3), (2, 3) ].
Problem approach

Step1 : Discussed the brute force approach
Step2 : Optimized using heap , written the code and dry run few test cases

Try solving now
05
Round
Medium
Face to Face
Duration30 minutes
Interview date24 Aug 2021
Coding problem1

Mangerial Round:

Timing: 4:30 - 5 PM

1. Basic HR Questions

1. What are your strengths and weaknesses?

2. Questions related to work in previous companies.

3. Why Intuit?

Here's your problem of the day

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

Skill covered: Programming

How do you remove whitespace from the start of a string?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 2
6 rounds | 6 problems
Interviewed by Intuit
2409 views
0 comments
0 upvotes
company logo
SDE - 2
5 rounds | 6 problems
Interviewed by Intuit
1198 views
0 comments
0 upvotes
company logo
SDE - 2
5 rounds | 6 problems
Interviewed by Intuit
5303 views
1 comments
0 upvotes
company logo
SDE - 2
6 rounds | 8 problems
Interviewed by Intuit
2321 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 2
5 rounds | 12 problems
Interviewed by Walmart
29892 views
8 comments
0 upvotes
company logo
SDE - 2
3 rounds | 5 problems
Interviewed by Amazon
6766 views
1 comments
0 upvotes
company logo
SDE - 2
6 rounds | 8 problems
Interviewed by Amazon
5281 views
0 comments
0 upvotes