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

Software Engineer

Accolite
upvote
share-icon
5 rounds | 7 Coding problems

Interview preparation journey

expand-icon
Journey
I started learning DSA during my first year of college. I began participating in contests on coding platforms and later switched to other platforms for DSA standard question practice. I applied for this opportunity in December, which was a women’s hiring initiative. I discovered the opportunity through a LinkedIn post by someone working at Accolite. I shared my resume with him, and he referred me for the position.
Application story
I applied through a referral. I was referred by someone I contacted on LinkedIn. There were a total of five rounds: the first round was an OA, followed by technical rounds, and then one HR round.
Why selected/rejected for the role?
I primarily focused on DSA from the beginning of college, which eventually helped me get selected for this opportunity.
Preparation
Duration: 8 months
Topics: Data Structure, OOPs, DBMS, Algorithms, ReactJS, Web Development
Tip
Tip

Tip 1: Try to solve standard DSA questions. 

Tip 2: Practice questions daily and set a target for each day. Make a habit of participating in contests weekly. 

Tip 3: Create good projects, at least two.

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

Tip 1: Add some good projects. 

Tip 2: Add links to your coding profiles.

Interview rounds

01
Round
Easy
Online Coding Interview
Duration90 minutes
Interview date3 Jan 2023
Coding problem1

1. Majority Element lll

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

You are supposed to write production-ready code with proper unit test cases, modularization, etc. You need to write your test cases under the user package in the test folder. One sample test is created under the same package for reference. Your code will be evaluated based on the following:

A weird array is an array in which there exists a weird number x, and the size of the array is at least 2. A number x is weird if the count of x is greater than the count of any other element in the array. For example, [1, 2, 1, 3, 3, 4, 1, 2] is a weird array with 1 as the weird number (x).

Find the minimum size of the weird subarray or return 0 if no such subarray exists.

Constraints: 1<n<2×1051 < n < 2 \times 10^51<n<2×105

Function description: Complete the function 'weird_array' in the code. The function must return the minimum size of the weird subarray or return 0 if no subarray exists.

'weird_array' has the following parameter(s):

  • input: a list of numbers
  • n: length of the list or array

EXAMPLES:

Input: [3, 3, 1, 3, 3] Output: 2 Explanation: [3, 3] is the minimum subarray possible.

Input: [5] Output: 0

Problem approach

I did similar kind of question during the contest so it was easier for me to solve the question during the oa round

Try solving now
02
Round
Easy
Video Call
Duration60 minutes
Interview date10 Jan 2023
Coding problem1

This round included everything. The interviewer asked me about my projects, and some OOP concepts, and requested that I write SQL queries. Finally, she had me solve one basic coding question.

1. Matrix Multiplication

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

Ninja has been given two sparse matrices ‘MAT1’ and ‘MAT2’ of integers having size ‘N’ x ‘M’ and ‘M’ x ‘P’, respectively.

A sparse matrix is a matrix that contains very few non-zero elements.

Ninja has to find the matrix formed by the multiplication of ‘MAT1’ and ‘MAT2’. As Ninja is busy with some other tasks so he needs your help. Can you help Ninja to find the matrix formed by the multiplication of ‘MAT1’ and ‘MAT2’?

Note: The number of columns in ‘MAT1’ i.e ‘M’ is equal to the number of rows in ‘MAT2’ i.e ‘M’. It means we can always multiply ‘MAT1’ with ‘MAT2’.

For example:

For the ‘MAT1’ and ‘MAT2’ given below, ‘MAT3’ is the matrix formed by multiplying ‘MAT1’ and ‘MAT2’. 

img

1. MAT3[0][0] = MAT1[0][0] * MAT2[0][0] + MAT1[0][1] * MAT2[1][0]  ie. 2 * 1 + 1 * 4 = 6
2. MAT3[1][0] = MAT1[1][0] * MAT2[1][0] + MAT1[1][1] * MAT2[1][0] ie. 0 * 6 + 0 * 4 = 0
Problem approach

This question was based on mathematics, so I applied the same principles in code. The way we multiply two matrices, I wrote the same steps in the form of code.

Try solving now
03
Round
Medium
Video Call
Duration60 minutes
Interview date11 Jan 2023
Coding problem3

This round was purely coding question-based. The interview asked me 3 questions.

1. Queue Using Two Stacks

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

You will be given ‘Q’ queries. You need to implement a queue using two stacks according to those queries. Each query will belong to one of these three types:

1 ‘X’: Enqueue element ‘X’  into the end of the nth queue. Returns true after the element is enqueued.

2: Dequeue the element at the front of the nth queue. Returns -1 if the queue is empty, otherwise, returns the dequeued element.
Note:
Enqueue means adding an element to the end of the queue, while Dequeue means removing the element from the front of the queue.
Problem approach

This is a standard question, so I was able to do it within 15 minutes. I started explaining my approach to him, detailing each step by giving an example.

Try solving now

2. Left View Of a Binary Tree

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

Given a Binary Tree, return its left view.

The Left View of a Binary Tree is a list of nodes that can be seen when the tree is viewed from the left side.
Example 1:
Input: Binary Tree: 1 2 3 4 10 9 11 -1 5 -1 -1 -1 -1 -1 -1 -1 6

Output: Left View: [1, 2, 4, 5, 6]

Problem approach

This was also a standard question, so I was easily able to solve it. The first 2 questions I solved within 30mins.

To get the left view of a Binary Tree, we perform a depth-first traversal of the Binary Tree while keeping track of the level of each node. For the left view, we’ll ensure that only the first node encountered at each level is added to the result vector.

Try solving now

3. Angle Between Hour Hand And Minute Hand

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

Given the time in hours and minutes, you need to calculate the angle between the hour hand and the minute hand.

Note :
There can be two angles between the hour hand and minute hand, you need to print a minimum of two. Also, print the floor value of angle i.e. if the angle is 15.2, you need to print 15.
Problem approach

This was the last question he asked. I struggled a lot to get the final solution, even though it was a simpler one, as I couldn't imagine the angle at that moment. The interviewer was nice and helped me a lot in finding the solution. He appreciated my efforts, as I was able to complete 80% of the code.

Try solving now
04
Round
Hard
Video Call
Duration30 minutes
Interview date12 Jan 2023
Coding problem1

There was only 1 coding question that the interviewer asked.

1. Shortest Substring with all characters

Moderate
18m average time
85% success
0/80
Asked in companies
AmazonMicrosoftCisco

Given an array of string words, return the smallest string that contains each string in words as a substring. If there are multiple valid strings of the smallest length, return any of them.

You may assume that no string in words is a substring of another string in words.

 

Example 1:

Input: words = ["catg","ctaagt","gcta","ttca","atgcatc"]
Output: "gctaagttcatgcatc"

Problem approach

I was not able to provide the optimised solution only the brute force approach I was able to provide and also tried the recursive approach.

Try solving now
05
Round
Easy
HR Round
Duration15 minutes
Interview date14 Jan 2023
Coding problem1

1. HR Questions

  1. Introduce yourself.
  2. Preferred location.
  3. Any other offers I have?
  4. Your Strengths and Weaknesses.
  5. HR told me about the company and what services they are providing briefly.

Here's your problem of the day

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

Skill covered: Programming

Which operator is used for exponentiation in Python?

Choose another skill to practice
Similar interview experiences
company logo
Software Engineer
3 rounds | 4 problems
Interviewed by Accolite
823 views
0 comments
0 upvotes
company logo
Software Engineer
3 rounds | 4 problems
Interviewed by Accolite
635 views
0 comments
0 upvotes
company logo
Software Engineer
3 rounds | 4 problems
Interviewed by Accolite
489 views
0 comments
0 upvotes
company logo
Software Engineer
5 rounds | 15 problems
Interviewed by Accolite
593 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Software Engineer
3 rounds | 5 problems
Interviewed by Mindtree
10996 views
7 comments
0 upvotes
company logo
Software Engineer
3 rounds | 7 problems
Interviewed by Optum
6921 views
1 comments
0 upvotes
company logo
Software Engineer
5 rounds | 5 problems
Interviewed by Microsoft
8422 views
1 comments
0 upvotes