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

SDE - Intern

Accolite
upvote
share-icon
4 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 2 months
Topics: Data Structures, Algorithms, Dynamic Programming, Trees, Graphs
Tip
Tip

Tip 1 : Practice atleast 20-30 Questions for each topic in DSA
Tip 2 : Try to make some projects which solve real world problems.
Tip 3 : Try to host your project, so that interviewer can try the project hands on.

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

Tip 1 : Never put anything which you don't know on your resume
Tip 2 : Keep your resume up to the point. Don't overfill it with things like your full address OR your interests. It is not required.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration30 Minutes
Interview date4 Sep 2020
Coding problem0

It was a 30 minutes MCQ round where we needed to answer 30 MCQ's. The timing for the test was around 4 p.m

MCQ's were mostly from Data Structures, DBMS, OS, OOPS, Aptitude and I suppose if someone has basic understanding of these topics will be able to answer most of the MCQ's, the only constraint would be 30 minutes.

02
Round
Medium
Online Coding Interview
Duration60 Minutes
Interview date6 Feb 2021
Coding problem2

It was a Coding round with 2 programming questions which need to solved in 60 minutes in any of the languages (C/C++/Java/Python)

1. Ninja and the Maze

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

Ninja went to an amusement park and visited a maze. Now, he is stuck in the maze. He can go in any direction(Up, Down, Left, or Right) from this point, but he cannot change his direction of motion until he comes across a wall in its path. Once he stops, he can choose his new direction.

Now, you are given Ninja’s starting point, the destination he wants to reach, and the maze in the form of a 2D matrix. You need to find out if Ninja can reach the destination from the starting point or not.

The maze is represented by a 2D array. ‘1’ means Ninja came across a wall and he needs to stop. ‘0’ means that it is an empty space and he can keep moving.

The coordinates of starting point and destination are represented by row and column numbers.

For Example
Given maze: {[0, 0, 1], [1, 0, 0], [1, 0, 0]} 
Starting point: [2, 2]
Destination: [0, 0]

For the above example maze will look like this:

maze

So, we can see there are 2 ways for Ninja to reach destination(D), from the starting point(SP). They are: [left -> up -> left] and [up -> left -> up -> left].
So, you need to print true.
Try solving now

2. Kth largest element in the unsorted array

Moderate
10m average time
90% success
0/80
Asked in companies
FacebookUberMicrosoft

You are given an array consisting of 'N' distinct positive integers and a number 'K'. Your task is to find the kth largest element in the array.

Example:
Consider the array {2,1,5,6,3,8} and 'K' = 3, the sorted array will be {8, 6, 5, 3, 2, 1}, and the 3rd largest element will be 5.
Note:
1) Kth largest element in an array is the kth element of the array when sorted in non-increasing order. 

2) All the elements of the array are pairwise distinct.
Try solving now
03
Round
Easy
Video Call
Duration60 minutes
Interview date8 Feb 2021
Coding problem2

It was in the morning at around 10 a.m conducted on Skype.

1. Median of two sorted arrays

Hard
25m average time
65% success
0/120
Asked in companies
ArcesiumLinkedInApple

Given two sorted arrays 'a' and 'b' of size 'n' and 'm' respectively.


Find the median of the two sorted arrays.


Median is defined as the middle value of a sorted list of numbers. In case the length of list is even, median is the average of the two middle elements.


The expected time complexity is O(min(logn, logm)), where 'n' and 'm' are the sizes of arrays 'a' and 'b', respectively, and the expected space complexity is O(1).


Example:
Input: 'a' = [2, 4, 6] and 'b' = [1, 3, 5]

Output: 3.5

Explanation: The array after merging 'a' and 'b' will be { 1, 2, 3, 4, 5, 6 }. Here two medians are 3 and 4. So the median will be the average of 3 and 4, which is 3.5.
Try solving now

2. Distance between two nodes of a Tree

Moderate
25m average time
60% success
0/80
Asked in companies
OracleAmazonGoogle

Given a binary tree and the value of two nodes, find the distance between the given two nodes of the Binary Tree.

Distance between two nodes is defined as the minimum number of edges in the path from one node to another.

Try solving now
04
Round
Easy
HR Round
Duration20 minutes
Interview date8 Feb 2021
Coding problem1

A HR Round in which the interviewer discussed about me and some things about my resume (Achievements, Projects etc.)

1. Basic HR Questions

Tell me about yourself.

Are you willing to relocate?

What are you most proud of? 

What has been your greatest failure?

Problem approach

Tip 1 : Just tell them about your city, your family, education and all
Tip 2 : Don't wrap up the question in a few words. Tell them about yourself in detail

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 a constructor in Java?

Choose another skill to practice
Start a Discussion
Similar interview experiences
company logo
SDE - Intern
3 rounds | 3 problems
Interviewed by Accolite
672 views
0 comments
0 upvotes
company logo
SDE - Intern
4 rounds | 3 problems
Interviewed by Accolite
1570 views
0 comments
0 upvotes
company logo
SDE - Intern
1 rounds | 1 problems
Interviewed by Accolite
733 views
0 comments
0 upvotes
company logo
SDE - Intern
4 rounds | 9 problems
Interviewed by Accolite
535 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - Intern
3 rounds | 6 problems
Interviewed by Amazon
13635 views
4 comments
0 upvotes
company logo
SDE - Intern
4 rounds | 7 problems
Interviewed by Microsoft
12818 views
1 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Amazon
9072 views
2 comments
0 upvotes