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

SDE - 1

Accolite
upvote
share-icon
4 rounds | 16 Coding problems

Interview preparation journey

expand-icon
Journey
I started my coding journey in Feb 2020. Firstly I solved approx 50-60 questions on the Hackkerank platform to brush up on my programming syntax and warmup. then I start coding on Leetcode and GFG platforms simultaneously. I picked each data structures topic and start solving questions for the same from easy to medium level. Firstly, I picked LinkedList data structures and coded approx 40 questions for the same and then I picked Hashing, Stack, Queue, and Trees. Graphs I solved very limited questions (only BFS, DFS, and topological sort-based questions). Dynamic programming I solved approx again 20-25 questions basically these are the generic ones only like LCS, Knapsack, etc. My approach for solving the question was to spend around 10-15 mins to first try building the solution. If I were not able to build the solution, then I used to refer to some post or youtube to understand the same. and after that, I keep this question on my to-do list then the next or next-to-next day, I used to code by myself the approach I watched on post/youtube.
Application story
I got this opportunity through campus placements. I prepare moderate data structures like a linked lists, trees, graphs, and arrays.
Why selected/rejected for the role?
Being a moderate level of coding and a deep understanding of programming skills. I was able to solve questions asked me during the selection process also good communication skill is more than required.
Preparation
Duration: 6 Months
Topics: Data Structures, OOPS, Trees, Graphs, LinkedList, Arrays, Queue, Stack, Hashmap, Searching, Sorting, Recursion, Strings
Tip
Tip

Tip 1 : Practice At least 20 questions from each topic like LinkedList, Graphs, Trees, and HashMap and all medium data structures.
Tip 2 : try to complete the medium code in 30 mins of durations.
Tip 3 : Prepare one coding language in which you are more comfortable with.

Application process
Where: Campus
Eligibility: basic 60%+ marks
Resume Tip
Resume tip

Tip 1 : Have some projects on your resume.
Tip 2 : Never put false things.

Interview rounds

01
Round
Easy
Online Coding Interview
Duration30 minutes
Interview date20 Aug 2020
Coding problem6

Questions would be related to CS concepts & Programming and overall Aptitude. 
1. OOPs Concepts 2. Operating System 
3. DBMS 4. Data Structures 
5. Networking

1. DBMS Question

Which of the following is a command of DDL?
1) Alter
2) Delete
3) Create
4) All of the Above

2. OS Question

In priority scheduling algorithm ____________
a) CPU is allocated to the process with the highest priority
b) CPU is allocated to the process with the lowest priority
c) Equal priority processes can not be scheduled
d) None of the mentioned

3. OS Question

To avoid deadlock ____________
a) there must be a fixed number of resources to allocate
b) resource allocation must be done only once
c) all deadlocked processes must be aborted
d) inversion technique can be used

4. OOPS Question

What is encapsulation in OOP?
a) It is a way of combining various data members and member functions that operate on those data members into a single unit
b) It is a way of combining various data members and member functions into a single unit that can operate on any data
c) It is a way of combining various data members into a single unit
d) It is a way of combining various member functions into a single unit

5. DS Question

Which of the following ways can be used to represent a graph?
a) Adjacency List and Adjacency Matrix
b) Incidence Matrix
c) Adjacency List, Adjacency Matrix as well as Incidence Matrix
d) No way to represent

6. Networking Question

Which of the following layers is an addition to the OSI model when compared with the TCP IP model?
a) Application layer
b) Presentation layer
c) Session layer
d) Session and Presentation layer

02
Round
Hard
Online Coding Test
Duration60 Minutes
Interview date20 Aug 2020
Coding problem1

No. of Question: 1 
Test Duration: 60 minutes

1. Chocolate Problem

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

Given an array/list of integer numbers 'CHOCOLATES' of size 'N', where each value of the array/list represents the number of chocolates in the packet. There are ‘M’ number of students and the task is to distribute the chocolate to their students. Distribute chocolate in such a way that:

1. Each student gets at least one packet of chocolate.

2. The difference between the maximum number of chocolate in a packet and the minimum number of chocolate in a packet given to the students is minimum.

Example :

Given 'N' : 5 (number of packets) and 'M' : 3 (number of students)

subsequence

And chocolates in each packet is : {8, 11, 7, 15, 2}

All possible way to distribute 5 packets of chocolates among 3 students are -

( 8,15, 7 ) difference of maximum-minimum is ‘15 - 7’ = ‘8’
( 8, 15, 2 ) difference of maximum-minimum is ‘15 - 2’ = ‘13’ 
( 8, 15, 11 ) difference of maximum-minimum is ‘15 - 8’ = ‘7’
( 8, 7, 2 ) difference of maximum-minimum is ‘8 - 2’ = ‘6’
( 8, 7, 11 ) difference of maximum-minimum is ‘11 - 7’ = ‘4’
( 8, 2, 11 ) difference of maximum-minimum is ‘11 - 2’ = ‘9’
( 15, 7, 2 ) difference of maximum-minimum is ‘15 - 2’ = 13’
( 15, 7, 11 ) difference of maximum-minimum is ‘15 - 7’ = ‘8’
( 15, 2, 11 ) difference of maximum-minimum is ‘15 - 2’ = ‘13’
( 7, 2, 11 ) difference of maximum-minimum is ‘11 - 2’ = ‘9’

Hence there are 10 possible ways to distribute ‘5’ packets of chocolate among the ‘3’ students and difference of combination (8, 7, 11) is ‘maximum - minimum’ = ‘11 - 7’ = ‘4’ is minimum in all of the above.
Try solving now
03
Round
Medium
Online Coding Test
Duration80 Minutes
Interview date20 Feb 2023
Coding problem6

The interviewer was friendly. The interviewer introduced himself and asked me to do the same.

1. Boundary Traversal of Binary Tree

Hard
20m average time
85% success
0/120
Asked in companies
Goldman SachsOYOExpedia Group

You are given a binary tree having 'n' nodes.


The boundary nodes of a binary tree include the nodes from the left and right boundaries and the leaf nodes, each node considered once.


Figure out the boundary nodes of this binary tree in an Anti-Clockwise direction starting from the root node.


Example :
Input: Consider the binary tree A as shown in the figure:

alt text

Output: [10, 5, 3, 7, 18, 25, 20]

Explanation: As shown in the figure

The nodes on the left boundary are [10, 5, 3]

The nodes on the right boundary are [10, 20, 25]

The leaf nodes are [3, 7, 18, 25].

Please note that nodes 3 and 25 appear in two places but are considered once.
Try solving now

2. Add Two Numbers As Linked Lists

Moderate
20m average time
80% success
0/80
Asked in companies
SprinklrIBMDeutsche Bank

You are given two non-negative numbers 'num1' and 'num2' represented in the form of linked lists.


The digits in the linked lists are stored in reverse order, i.e. starting from least significant digit (LSD) to the most significant digit (MSD), and each of their nodes contains a single digit.


Calculate the sum of the two numbers and return the head of the sum list.


Example :
Input:
'num1' : 1 -> 2 -> 3 -> NULL
'num2' : 4 -> 5 -> 6 -> NULL

Output: 5 -> 7 -> 9 -> NULL

Explanation: 'num1' represents the number 321 and 'num2' represents 654. Their sum is 975.


Try solving now

3. Reverse Linked List

Moderate
15m average time
85% success
0/80
Asked in companies
WalmartHCL TechnologiesInfo Edge India (Naukri.com)

Given a singly linked list of integers. Your task is to return the head of the reversed linked list.

For example:
The given linked list is 1 -> 2 -> 3 -> 4-> NULL. Then the reverse linked list is 4 -> 3 -> 2 -> 1 -> NULL and the head of the reversed linked list will be 4.
Follow Up :
Can you solve this problem in O(N) time and O(1) space complexity?
Try solving now

4. OOPS Question

Q1. What is the difference between Abstraction and Encapsulation?

5. OOPS Questions

Q1. What is Polymorphism?
Q2. What is Runtime polymorphism and how would you achieve this in CPP?

6. OOPS Questions

What is a Virtual function?
Then Interviewer asked a few more questions on OOPS (like which function will be called
and all).

04
Round
Easy
Video Call
Duration15 Minutes
Interview date20 Aug 2020
Coding problem3

As it is already too late. I was the last candidate. So, he told me that we have to wrap up fastly.

1. Basic HR Questions

He started by telling me to explain all of my projects while scanning through my Resume. I explained to him my all 3 projects fastly.
Then some more conversation on my first project only.
The interviewer asked me if I have any questions which I questioned him about: Working culture of Accolite.

Problem approach

Tip 1 : Do not speak too much. 
Tip 2 : If you don't have any idea, just say directly, I have no idea about this right now, but I know this (related topic) can I tell you about this topic?

2. Technical Question

Tell me about Multi-threading.

3. DBMS Questions

What is a transaction?
I tried to define a transaction and then listed the ACID properties

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 - 1
3 rounds | 7 problems
Interviewed by Accolite
702 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 6 problems
Interviewed by Accolite
776 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 6 problems
Interviewed by Accolite
677 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 8 problems
Interviewed by Accolite
667 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
115097 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
58237 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
35147 views
7 comments
0 upvotes