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

SDE - 1

American Express
upvote
share-icon
4 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 3 months
Topics: Data Structures, Algorithms, OOPS concept, Database and Operating System.
Tip
Tip

Tip 1 : Be thorough with the basic concepts of data structures and algorithms
Tip 2 : Focus will be on OOPS concept with real life example
Tip 3 : Also go through your projects thoroughly.

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

Tip 1 : Use deedy resume format for making resume.
Tip 2 : Don't add things that you don't know in resume.

Interview rounds

01
Round
Easy
Online Coding Interview
Duration50 minutes
Interview date23 Oct 2019
Coding problem1

MCQ and coding round.

1. Largest rectangle in a histogram

Hard
25m average time
75% success
0/120
Asked in companies
FacebookAppleAmazon

You have been given an array/list 'HEIGHTS' of length ‘N. 'HEIGHTS' represents the histogram and each element of 'HEIGHTS' represents the height of the histogram bar. Consider that the width of each histogram is 1.

You are supposed to return the area of the largest rectangle possible in the given histogram.

For example :
In the below histogram where array/list elements are {2, 1, 5, 6, 2, 3}.

alt text

The area of largest rectangle possible in the given histogram is 10.
Problem approach

By finding next smaller element and previous smaller element for every element in O(n) time complexity and O(n) auxiliary space .

Try solving now
02
Round
Easy
Video Call
Duration50 Minutes
Interview date25 Oct 2019
Coding problem1

It was a data structure round

1. Maximum Size Rectangle Sub-matrix With All 1's

Hard
10m average time
80% success
0/120
Asked in companies
AmazonDunzoRazorpay

You are given an 'N' * 'M' sized binary-valued matrix 'MAT, where 'N' is the number of rows and 'M' is the number of columns. You need to return the maximum size (area) of the submatrix which consists of all 1’s i.e. the maximum area of a submatrix in which each cell has only the value ‘1’.

subMatrix_image

In the above image, areas in green, red, and violet color are all submatrices of the original 4x4 matrix.

Note:

1. Binary valued matrix has only two values in each cell : 0 and 1.
2. A submatrix is a matrix formed by selecting certain rows and columns from a larger matrix.
3. The area of a matrix with 'h' rows and 'w' columns is equal to 'h' * 'w'. 
Problem approach

The idea is to maintain four auxiliary matrices left[][], right[][], top[][], bottom[][] to store consecutive 1’s in every direction. For each cell (i, j) in the input matrix, we store below information in these four matrices

Try solving now
03
Round
Easy
Video Call
Duration50 minutes
Interview date4 Nov 2019
Coding problem1

Rounds on projects and internship

1. Tell about the projects and internship experience.

Problem approach

What challenges you faced during the internship?

04
Round
Easy
HR Round
Duration30 Minutes
Interview date21 Nov 2019
Coding problem1

HR rounds with behavioural questions

1. Basic HR questions

1. What are your strengths and weaknesses?

2. Why American Express?

Problem approach

Tip 1 : Be who you are.
Tip 2 : Try to be relax and just answer what you believe in. 

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
5 rounds | 8 problems
Interviewed by American Express
1248 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 6 problems
Interviewed by American Express
2542 views
1 comments
0 upvotes
company logo
SDE - 1
3 rounds | 4 problems
Interviewed by American Express
1555 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 3 problems
Interviewed by American Express
64 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
58238 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
35147 views
7 comments
0 upvotes