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

SDE - Intern

Autodesk
upvote
share-icon
2 rounds | 6 Coding problems

Interview preparation journey

expand-icon
Journey
In my first year, I began by delving into the fundamentals of data structures and algorithms (DSA). Afterwards, I ventured into web development, creating several projects to enhance my skills and bolster my confidence. Additionally, I actively participated in hackathons to further broaden my experience.
Application story
I saw that one of the recruiters at Autodesk posted a link on Twitter. So, I applied through that link, and after 2 months, I received a test link from them.
Why selected/rejected for the role?
I was rejected because I didn't listen to the question carefully and misunderstood it, leading to a wrong solution.
Preparation
Duration: 6 months
Topics: DBMS, OOPS, DP, Graphs, CN, System Design
Tip
Tip

Tip 1: Initially, spend some time on DSA.

Tip 2: After that, start participating in contests on coding platforms.

Tip 3: Give mock interviews to boost your confidence.

Application process
Where: Linkedin
Eligibility: No criteria
Resume Tip
Resume tip

Tip 1: You should have at least 2 good projects.

Tip 2: Try to include your coding profile link in your resume.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration60 minutes
Interview date19 Jan 2024
Coding problem3

We were given 3 slots, and we had to choose which slot to give our coding round. It was for 1 hour.

1. Rat In A Maze

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

Consider a rat placed at (0, 0) in a square matrix of order N * N. It has to reach the destination at (N - 1, N - 1). Find all possible paths that the rat can take to reach from source to destination. The directions in which the rat can move are 'U'(up), 'D'(down), 'L' (left), and 'R' (right). Value 0 at a cell in the matrix represents that it is blocked and the rat cannot move to it while value 1 at a cell in the matrix represents that the rat can travel through it. Note: In a path, no cell can be visited more than one time. If the source cell is 0, the rat cannot move to any other cell.

Problem approach

Step 1: I identified this as a backtracking problem. 

Step 2: I applied backtracking to solve it.

Since I had already solved this problem before, it was easy for me.

Try solving now

2. Number of Longest Increasing Subsequence

Moderate
0/80
Asked in companies
AmazonSamsungTata1mg

Given an array, ‘Arr’ of length ‘n’, count the number of longest increasing subsequences (LIS).

Problem approach

Step 1: It was a dp problem and was a variation of LIS (longest increasing subsequence)
Step 2: It included making a dp array and filling it linearly as per the condition

Try solving now

3. Same Tree

Moderate
20m average time
85% success
0/80
Asked in companies
MicrosoftDisney + HotstarHike

You are given two binary trees with 'n' and 'm' nodes respectively.


You need to return true if the two trees are identical. Otherwise, return false.


Example:
For the trees given below:- 

example

The given trees are identical as:-
1. The number of nodes in both trees is the same. 
2. The number of edges in both trees is the same. 
3. The data for root for both the trees is the same i.e 5. 
4. The data of root -> left (root’s left child) for both the trees is the same i.e 2.
5. The data of root -> right (root’s right child) for both the trees is the same i.e 3.
6. The data of root -> right -> left ( left child of root’s right child) for both the trees is the same i.e 6.
7. Nodes with data 2 and 6 are the leaf nodes for both the binary trees. 
Problem approach

This was a pretty simple question. Applying simple recursion worked here.

Try solving now
02
Round
Medium
Video Call
Duration40 minutes
Interview date30 Jan 2024
Coding problem3

1. DBMS

What is a foreign key? (Learn)

Problem approach

Tip 1: try to cover every topic in DBMS

My answer to this problem - 

"Foreign keys link data in one table to the data in another table"

2. Search in Rotated Sorted Array

Moderate
30m average time
65% success
0/80
Asked in companies
FreshworksExpedia GroupPayPal

Aahad and Harshit always have fun by solving problems. Harshit took a sorted array consisting of distinct integers and rotated it clockwise by an unknown amount. For example, he took a sorted array = [1, 2, 3, 4, 5] and if he rotates it by 2, then the array becomes: [4, 5, 1, 2, 3].

After rotating a sorted array, Aahad needs to answer Q queries asked by Harshit, each of them is described by one integer Q[i]. which Harshit wanted him to search in the array. For each query, if he found it, he had to shout the index of the number, otherwise, he had to shout -1.

For each query, you have to complete the given method where 'key' denotes Q[i]. If the key exists in the array, return the index of the 'key', otherwise, return -1.

Note:

Can you solve each query in O(logN) ?
Problem approach

Step 1: Initially, I considered a brute force approach, but the interviewer specified a requirement for an O(log N) solution. 

Step 2: I then thought of an approach using binary search. 

The interviewer was satisfied with this solution.

Try solving now

3. Minimum Window Substring

Hard
15m average time
85% success
0/120
Asked in companies
PayPalBarclaysUber

You are given two strings ‘A’ and ‘B’. Your task is to return a substring ‘S’ of ‘A’ such that the following conditions hold true :


• You can make ‘B’ from ‘S’ by removing some characters and rearranging some characters zero or more times.

• Length of ‘S’ must be as minimum as possible.


Note :

Testcases are generated such that a substring always exists and is unique.

Example :

A = ninjas, B = sin

All possible substrings with which 'B' can be created are
"ninjas", "injas".

Hence the substring with minimum length is "injas".
Problem approach

I misunderstood this question and solved it by thinking that we needed to find the minimum window subsequence and hence I was not able to solve it.

Try solving now

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
company logo
SDE - Intern
2 rounds | 3 problems
Interviewed by Amazon
960 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
3451 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - Intern
3 rounds | 6 problems
Interviewed by Amazon
15480 views
4 comments
0 upvotes
company logo
SDE - Intern
4 rounds | 7 problems
Interviewed by Microsoft
15338 views
1 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Amazon
10142 views
2 comments
0 upvotes