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

SDE - 1

Accolite
upvote
share-icon
4 rounds | 7 Coding problems

Interview preparation journey

expand-icon
Journey
I have completed my Engineering from Amity University Noida, specializing in Computer Science Engineering recently. In the second year, I started learning java and dsa from coding ninjas. After learning DSA i started working on projects. I was pretty confident on my skills. I used to practice dsa questions daily on Codezen. I was pretty much confident with my skills.
Application story
I got this opportunity on campus. A form was rolled out for this, so there we need to fill all the necessary detials along with resume.
Why selected/rejected for the role?
I got selected for this role. Practical and coding skills helped me in grabing this opportunity. It was very great and awesome experience. I think for every SDE role, one should be good in DSA. DSA is must and projects also. If someone has internship in their resume then it would be a cherry on the cake.
Preparation
Duration: 10 months
Topics: Data Structures, Algorithms, OOPS, DBMS, JAVA, OS
Tip
Tip

Tip 1 : Practice Atleast 250 Questions 
Tip 2 : Prepare atleast 2 good projects
Tip 3 : Communication skills should be good.

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

Tip 1 : Be honest with your resume.
Tip 2 : Resume should be crisp and short.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration90 minutes
Interview date16 Sep 2021
Coding problem2

It consisted of DSA, logical and numerical reasoning, quantitative aptitude, Networking, OS questions.

1. Create Target Array

Hard
35m average time
65% success
0/120
Asked in companies
AdobeSpinny

You are given an array of integers. Starting with an array of 'N' elements consisting of all 1’s, you need to create the given array. To do so, you can update any index of the current array, with the sum of all elements present in the array.

For example:
Consider the starting array: [1, 1, 1, 1]. You can update any index of this array with 4 (the sum of all elements of the current array).

You can perform the above operations any number of times. Your task is to check if it is possible to get the target array from the starting array of all 1’s or not.

Problem approach

This test was taken on Accolite Digital platform named Eduthrill.
These are the stepsgiven below.

Take the target array first.

Initialize result(the varibale that we need to return ) as 0. 

If all are even, divide all elements by 2 
and increment result by 1. 

all odd elements, make them even by 
reducing them by 1. and for every reduction,
increment result by 1.

Finally, we get all zeros in target array.

Try solving now

2. Wildcard Pattern Matching

Hard
50m average time
30% success
0/120
Asked in companies
SalesforceFreshworksWalmart

Given a text and a wildcard pattern of size N and M respectively, implement a wildcard pattern matching algorithm that finds if the wildcard pattern is matched with the text. The matching should cover the entire text not partial text.

The wildcard pattern can include the characters ‘?’ and ‘*’

 ‘?’ – matches any single character 
 ‘*’ – Matches any sequence of characters(sequence can be of length 0 or more)
Try solving now
02
Round
Medium
Video Call
Duration60 minutes
Interview date16 Sep 2021
Coding problem2

Interview held in eveing. It went around for 1 hour.The interviewer was very helpful.

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

I was not able to solve at first go but i didnt give up. I spent 30 minutes on it. i was trying and telling every approach to the interviewer.
In the end he gave me a little bit idea and then i told him brute force approach.

Try solving now

2. Detect And Remove Cycle

Easy
10m average time
90% success
0/40
Asked in companies
WalmartOracleGoldman Sachs

You have been given a Singly Linked List of integers, determine if it forms a cycle or not. If there is a cycle, remove the cycle and return the list.

A cycle occurs when a node's ‘next’ points back to a previous node in the list.

Problem approach

I explained this question using Floyd’s Cycle-Finding Algorithm. then he gave me many test cases i explained every test case to him.

Try solving now
03
Round
Medium
Video Call
Duration60 Minutes
Interview date16 Sep 2021
Coding problem2

Interview held in eveing. It went around for 1 hour.The interviewer was very helpful.

1. Balanced parentheses

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

Given an integer ‘N’ representing the number of pairs of parentheses, Find all the possible combinations of balanced parentheses with the given number of pairs of parentheses.

Note :

Conditions for valid parentheses:
1. All open brackets must be closed by the closing brackets.

2. Open brackets must be closed in the correct order.

For Example :

()()()() is a valid parentheses.
)()()( is not a valid parentheses.
Problem approach

It was an easy-medium level problem. I used stack for this question. I explained him every corner case. He was satisfied with the solution.

Try solving now

2. Remove Consecutive Duplicates

Easy
0/40
Asked in companies
OlaWalmartSamsung

You are given a string ‘str’ of size ‘N’. Your task is to remove consecutive duplicates from this string recursively.

For example:

If the input string is ‘str’ = ”aazbbby”, then your output will be “azby”.
Note that we are just removing adjacent duplicates.
Problem approach

I solved this question in 0(n) and he was happy with the solution.

Try solving now
04
Round
Easy
HR Round
Duration15 minutes
Interview date16 Sep 2021
Coding problem1

It was held in evening.

1. Basic HR Questions

Introduce yourself.

Why Accolite Digital?

Where do I see myself in 5 years?

Problem approach

Tip 1 : Be confident
Tip 2 : Dont lie
Tip 3 : Good communication skills.

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