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

SDE - 1

Ally
upvote
share-icon
3 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 4 Months
Topics: Data Structures, Algorithms, OOPS, DBMS, CN, Projects
Tip
Tip

Tip 1 : Work on Competitive Programming skills. That is one thing most companies look out for during hiring. Solve at least 
100 questions from every topic.
Tip 2 : You should have at least 2 good projects on your resume. Only write the things that you are completely sure of.
Tip 3 : Work on CS fundamentals as well like -OOPS, OS, and DBMS. There will be MCQ questions from this in the coding 
round as well as in the 1:1 round

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

Tip 1 : Need at least 2 good projects on the resume. Write a short 2-3 lines summary of the project and the tech stack 
used.
Tip 2 : Resume should be 1 page only.
Tip 3 : Your Resume should clearly mention the skillset you have. Companies sometimes filter out Resume based on 
skillset only

Interview rounds

01
Round
Easy
Face to Face
Duration60 Minutes
Interview date14 Jun 2020
Coding problem2

It was a 1 hr round from 2 pm-3 pm. HR mailed me the zoom link

1. Subarray With Given Sum

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

Given an array ARR of N integers and an integer S. The task is to find whether there exists a subarray(positive length) of the given array such that the sum of elements of the subarray equals to S or not. If any subarray is found, return the start and end index (0 based index) of the subarray. Otherwise, consider both the START and END indexes as -1.

Note:

If two or more such subarrays exist, return any subarray.

For Example: If the given array is [1,2,3,4] and the value of S is equal to 7. Then there are two possible subarrays having sums equal to S are [1,2,3] and [3,4].

Problem approach

we will use a map for this. start a loop from index 0 and keep on adding the values at every index and put that into a map with key as sum and value as "index". No w at every index in the loop check if S-sum is present in the map or not.
if present then value at that index till "i" will be your subarray otherwise keep on doing this till last element.

Try solving now

2. N-th Node From The End

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

You are given a Singly Linked List of integers. You have to find the N-th node from end.

For Example
If the given list is (1 -> -2 -> 0 -> 4) and N=2:

example

Then the 2nd node from the end is 0.
Problem approach

It can easily be solved via two-pointers.

Start the first pointer from the nth node from starting and the second pointer from the head of the linked list. now keep on moving forward till the first pointer reaches the end of the linked list. When you reach the end, the second pointer will be on the nth node from the end.

Try solving now
02
Round
Easy
Face to Face
Duration60 Minutes
Interview date16 Jun 2020
Coding problem1

1. Longest Increasing Path In A 2D Matrix

Hard
10m average time
90% success
0/120
Asked in companies
PhonePeSamsungFacebook

You have been given a MATRIX of non-negative integers of size N x M where 'N' and 'M' denote the number of rows and columns, respectively.

Your task is to find the length of the longest increasing path when you can move to either four directions: left, right, up or down from each cell. Moving diagonally or outside the boundary is not allowed.

Note: A sequence of integers is said to form an increasing path in the matrix if the integers when traversed along the allowed directions can be arranged in strictly increasing order. The length of an increasing path is the number of integers in that path.

For example :

3 2 2
5 6 6
9 5 11 

In the given matrix, 3 →  5 →  6 and 3 →  5 →  9 form increasing paths of length 3 each.
Problem approach

It is a basic DP solution where we check if the node is already visited or not

Try solving now
03
Round
Easy
HR Round
Duration30 Minutes
Interview date18 Jun 2020
Coding problem1

1. Basic HR questions

Basic Questions were asked by the CEO of the company like
1. Why should we hire you?
2. Will you be able to relocate to Chennai?
3. How will you solve a communication gap with your team member?
4. What are your expectations from this role?

Problem approach

Tip 1: Try to work on these questions before the interview. List down the points that you can say
Tip 2: Answer these questions in a very simple and realistic manner. It shouldn't look like you have mugged up the 
answer from before
Tip 3: Try to ask the questions regarding your role and teams. What are their expectations from your role? This will make 
them think that you are serious about this opportunity.

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 | 8 problems
Interviewed by Amazon
8519 views
0 comments
0 upvotes
Analytics Consultant
3 rounds | 10 problems
Interviewed by ZS
907 views
0 comments
0 upvotes
company logo
SDE - Intern
1 rounds | 3 problems
Interviewed by Amazon
3320 views
0 comments
0 upvotes
company logo
SDE - 2
4 rounds | 6 problems
Interviewed by Expedia Group
2581 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
114579 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
57825 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
34961 views
7 comments
0 upvotes