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

Software Engineer

Accolite
upvote
share-icon
5 rounds | 10 Coding problems

Interview preparation journey

expand-icon
Journey
I have did my Engineering form ITS Engineering College and I have started my preparation from my 6th semester. I have done 350+ question on GFG and 400+ question on Leetcode.
Application story
I applied through their career page and it has 2 test round and 2 technical round followed by HR round.
Why selected/rejected for the role?
I was selected for this role because I have a good hold on DSA and the core CS fundamentals. One should have good knowledge of DSA to crack any good company. In both technical round I was able to answer all the question from brutefore to optimise along with time and space complexity.
Preparation
Duration: 4 months
Topics: Data Structures, Algorithms, OOPS, DBMS, OS, CN, Projects
Tip
Tip

Tip 1 : Be consistent during your preparation
Tip 2 : Always participate in contest and upsolve atleast one question that you are not able to solve

Application process
Where: Company Website
Eligibility: 6 CGPA
Resume Tip
Resume tip

Tip 1 : Mention good projects
Tip 2 : Do not make resume more than one page

Interview rounds

01
Round
Medium
Online Coding Interview
Duration30 minutes
Interview date3 Aug 2021
Coding problem4

1. Reverse Words In A String

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

You are given a string 'str' of length 'N'.


Your task is to reverse the original string word by word.


There can be multiple spaces between two words and there can be leading or trailing spaces but in the output reversed string you need to put a single space between two words, and your reversed string should not contain leading or trailing spaces.


Example :
If the given input string is "Welcome to Coding Ninjas", then you should return "Ninjas Coding to Welcome" as the reversed string has only a single space between two words and there is no leading or trailing space.
Try solving now

2. Reverse Bits

Moderate
0/80
Asked in companies
MicrosoftGrofersChegg Inc.

There is a song concert going to happen in the city. The price of each ticket is equal to the number obtained after reversing the bits of a given 32 bits unsigned integer ‘n’.


Try solving now

3. Aptitude

In a certain code language MADRAS is coded as 'ARSARS', then how will 'MUMBAI' be coded in that language?

Problem approach

Ans : UBIUBI

4. SQL

What is the output of the following SQL query?

SELECT Count(*) 
FROM ( ( SELECT Borrower, Bank_Manager 
FROM Loan_Records) AS S 
NATURAL JOIN ( SELECT Bank_Manager, Loan_Amount 
FROM Loan_Records) AS T );
(A) 3
(B) 9
(C) 5
(D) 6

Problem approach

Ans : C

02
Round
Medium
Online Coding Test
Duration60 minutes
Interview date3 Aug 2021
Coding problem1

1. Max Path Value

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

You are given a directed graph with ‘N’ nodes and ‘M’ edges. Each node has a lowercase letter assigned to it. For any path, the path’s value is defined as the maximum frequency of a letter on the path. You are supposed to find the maximum value of a path. If the maximum value can be infinitely large then return -1.

Example:
If some path has the letters “xyxxxyzz” then the value of this path will be 4 as the maximum frequency of any letter(‘x’) is 4.
Problem approach

I solved using DP and queue

Try solving now
03
Round
Medium
Face to Face
Duration60 minutes
Interview date7 Aug 2021
Coding problem2

1. Two Sum

Easy
10m average time
90% success
0/40
Asked in companies
MeeshoAdobeInfo Edge India (Naukri.com)

You are given an array of integers 'ARR' of length 'N' and an integer Target. Your task is to return all pairs of elements such that they add up to Target.

Note:

We cannot use the element at a given index twice.

Follow Up:

Try to do this problem in O(N) time complexity. 
Problem approach

First I solved using brute force then interviewr asked me to optimised then I solved using map

Try solving now

2. Next Greater Element

Easy
10m average time
90% success
0/40
Asked in companies
IBMInfo Edge India (Naukri.com)Amazon

You are given an array 'a' of size 'n'.



The Next Greater Element for an element 'x' is the first element on the right side of 'x' in the array, which is greater than 'x'.


If no greater elements exist to the right of 'x', consider the next greater element as -1.


For example:
Input: 'a' = [7, 12, 1, 20]

Output: NGE = [12, 20, 20, -1]

Explanation: For the given array,

- The next greater element for 7 is 12.

- The next greater element for 12 is 20. 

- The next greater element for 1 is 20. 

- There is no greater element for 20 on the right side. So we consider NGE as -1.
Problem approach

I solved using stack.
The idea is to store the elements for which we have to find the next greater element in a stack and while traversing the array, if we find a greater element, we will pair it with the elements from the stack till the top element of the stack is less than the current element.

Try solving now
04
Round
Medium
Face to Face
Duration70 minutes
Interview date7 Aug 2021
Coding problem2

1. Fractional Knapsack

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

You have been given weights and values of ‘N’ items. You are also given a knapsack of size ‘W’.

Your task is to put the items in the knapsack such that the total value of items in the knapsack is maximum.

Note:
You are allowed to break the items.
Example:
If 'N = 4' and 'W = 10'. The weights and values of items are weights = [6, 1, 5, 3] and values = [3, 6, 1, 4]. 
Then the best way to fill the knapsack is to choose items with weight 6, 1 and  3. The total value of knapsack = 3 + 6 + 4 = 13.00   
Problem approach

I solved using DP approach.

Try solving now

2. Unbounded Knapsack

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

You are given ‘n’ items with certain ‘profit’ and ‘weight’ and a knapsack with weight capacity ‘w’.


You need to fill the knapsack with the items in such a way that you get the maximum profit. You are allowed to take one item multiple times.


Example:
Input: 
'n' = 3, 'w' = 10, 
'profit' = [5, 11, 13]
'weight' = [2, 4, 6]

Output: 27

Explanation:
We can fill the knapsack as:

1 item of weight 6 and 1 item of weight 4.
1 item of weight 6 and 2 items of weight 2.
2 items of weight 4 and 1 item of weight 2.
5 items of weight 2.

The maximum profit will be from case 3 = 11 + 11 + 5 = 27. Therefore maximum profit = 27.


Problem approach

I solved using DP

Try solving now
05
Round
Easy
HR Round
Duration40 minutes
Interview date7 Aug 2021
Coding problem1

1. Basic HR Questions

Introduce yourself
Why do you want this job?

Why you are the best fit for job?

How will you work in a team?

Problem approach

Tip 1 : Be polite and show them interest towards company

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
Software Engineer
3 rounds | 4 problems
Interviewed by Accolite
1116 views
0 comments
0 upvotes
company logo
Software Engineer
3 rounds | 4 problems
Interviewed by Accolite
843 views
0 comments
0 upvotes
company logo
Software Engineer
5 rounds | 15 problems
Interviewed by Accolite
1450 views
0 comments
0 upvotes
company logo
Software Engineer
5 rounds | 7 problems
Interviewed by Accolite
392 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Software Engineer
3 rounds | 7 problems
Interviewed by Optum
7976 views
1 comments
0 upvotes
company logo
Software Engineer
5 rounds | 5 problems
Interviewed by Microsoft
10148 views
1 comments
0 upvotes
company logo
Software Engineer
2 rounds | 4 problems
Interviewed by Amazon
4448 views
1 comments
0 upvotes