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

SDE - 1

Acko
upvote
share-icon
4 rounds | 6 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 6 Months
Topics: BFS, DFS, DP, Binary Search, Tries, MCM, Gaphs, DSU, Segment Trees, Recursion, LCS, 2-pointer-meathod.
Tip
Tip

Tip 1 : Prepare the hot questions the very least.
Tip 2 : Breath first and depth first search are equally important as recursion.
Tip 3 : Subjects like Data Base Management and OS should not be ignored. 
Tip 4 : Proficiency in writing SQL queries is a must.

Application process
Where: Campus
Eligibility: Top 20 students of the batch based on CGPA were only allowed to sit for first round.
Resume Tip
Resume tip

Tip 1 : Resume must be short and concise, if fresher, try to keep in under 1 page.
Tip 2 : Write only those technologies on which you have through knowledge and proficiency, never try to write a lot of them.
Tip 3 : Have deep understanding of the projects you write about, cause there could be a long discussion about them.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration90 Minutes
Interview date10 Aug 2021
Coding problem3

First round was an online round, it was hosted on Hackerrank. 
There were 3 questions & the level was medium and the test was scheduled in the morning, i.e. 10:00 am.

1. Mike and Mobile

Moderate
35m average time
45% success
0/80
Asked in companies
SAP LabsAckoUber

Mike is a little boy who loves solving math problems. One day he was playing with his mom’s mobile. The mobile keypad contains 12 buttons { 10 digits(0-9) and 2 characters(‘*’ and ‘#’) }. Mike wants to know how many different numbers he can generate after pressing exactly the 'N' buttons on the keypad. Mike presses the buttons with the following rules:

1. He always presses the button which has a digit written on it, i.e., he never presses the ‘*’ and ‘#’ button.
2. Once he presses a button, the next button he presses should either be the same button or the button which is adjacent to the previous button.
3. In starting he can press any button except ‘*’ and ‘#’.

mobile

Mike is too little to solve this problem. Help Mike to solve this problem. As the answer can be large, so find the answer modulo 10^9 + 7.

Try solving now

2. Longest Palindromic Substring

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

You are given a string ('STR') of length 'N'. Find the longest palindromic substring. If there is more than one palindromic substring with the maximum length, return the one with the smaller start index.

Note:
A substring is a contiguous segment of a string.

For example : The longest palindromic substring of "ababc" is "aba", since "aba" is a palindrome and it is the longest substring of length 3 which is a palindrome, there is another palindromic substring of length 3 is "bab" since "aba" starting index is less than "bab", so "aba" is the answer.

Problem approach

This problem was expected to be solved by DP.

Try solving now

3. Maximum Subarray Sum

Moderate
0/80
Asked in companies
AmazonOracleOptum

You are given an array/list ARR consisting of N integers. Your task is to find the maximum possible sum of a non-empty subarray(contagious) of this array.

Note: An array C is a subarray of array D if it can be obtained by deletion of several elements(possibly zero) from the beginning and the end of array D.

For e.g.- All the non-empty subarrays of array [1,2,3] are [1], [2], [3], [1,2], [2,3], [1,2,3].

Problem approach

This problem was expected to be solved by kadane's algorithm, It was too a standard question.

Try solving now
02
Round
Medium
Video Call
Duration60 Minutes
Interview date12 Aug 2021
Coding problem2

This was an online interview round and only algorithmic questions were asked.

1. LCA Of Binary Tree

Moderate
10m average time
90% success
0/80
Asked in companies
GrabDisney + HotstarShareChat

You have been given a Binary Tree of distinct integers and two nodes ‘X’ and ‘Y’. You are supposed to return the LCA (Lowest Common Ancestor) of ‘X’ and ‘Y’.


The LCA of ‘X’ and ‘Y’ in the binary tree is the shared ancestor of ‘X’ and ‘Y’ that is located farthest from the root.


Note :
You may assume that given ‘X’ and ‘Y’ definitely exist in the given binary tree.
For example :
For the given binary tree

Example

LCA of ‘X’ and ‘Y’ is highlighted in yellow colour.
Problem approach

The interviewer asked me to tell the approach to solve this question, and then asked me to write the code on screen share.
After solving the question, he asked me some concepts about Binary Tree and how it is build briefly.

Try solving now

2. Search In A Row Wise And Column Wise Sorted Matrix

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

You are given an 'N * N' matrix of integers where each row and each column is sorted in increasing order. You are given a target integer 'X'.


Find the position of 'X' in the matrix. If it exists then return the pair {i, j} where 'i' represents the row and 'j' represents the column of the array, otherwise return {-1,-1}


For example:
If the given matrix is:
[ [1, 2, 5],
  [3, 4, 9],
  [6, 7, 10]] 
We have to find the position of 4. We will return {1,1} since A[1][1] = 4.
Problem approach

This is a standard question too, and he asked me to solve on share share this too.
Only those students were shortlisted who were able to solve both questions in an hour interview.
Partial solves or one solve were not qualified for further rounds.
Only 7 students were shortlisted after this.

Try solving now
03
Round
Easy
HR Round
Duration60 Minutes
Interview date12 Aug 2021
Coding problem1

This was HR round, she asked about myself and talked about general things.
This was just to identify the confidence of candidates and their communication skills.
5 students were shortlisted by her, so don't take hr rounds lightly.

1. Basic HR Questions

Are you a team player?

What are your weaknesses?

04
Round
Medium
Video Call
Duration60 Minutes
Interview date13 Aug 2021
Coding problem0

This round was called Hiring Manager round.
This was basically a system design round where I was asked about the working of Amazon Inventory System and whether I could design one. Primary focus was on OOPS design and the designing of classes/structures.
Concepts like abstract classes, virtual functions, singleton class, inheritance etc. was asked in this.
This lasted for 45 minutes, for the rest 15 minutes, he asked me to write some SQL queries.
Basic queries with GROUP BY, JOINS, & nested queries were asked.

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 recursion?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
4 rounds | 6 problems
Interviewed by Acko
1840 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 5 problems
Interviewed by Acko
1670 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 4 problems
Interviewed by Acko
1197 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 4 problems
Interviewed by Acko
799 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
114580 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
57826 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
34962 views
7 comments
0 upvotes