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

SDE - 1

American Express
upvote
share-icon
3 rounds | 6 Coding problems

Interview preparation journey

expand-icon
Journey
My journey to becoming a software engineer at American Express started with a strong foundation in computer science and programming basics. I knew early on that I had a passion for technology and a desire to make a positive impact through my work. To build on this foundation, I pursued a degree in computer science and gained practical experience through internships and personal projects. I made a point to stay up-to-date with the latest technologies and trends in the industry, attending conferences and networking with other professionals. Overall, my personal journey to becoming a software engineer at American Express was a combination of education, practical experience, and a strong desire to succeed.
Application story
It started with giving MCQ test at TechGig Geek Goddess, conducted by American Express. After getting good score there, I got an email inviting for giving coding test at their codility platform. After getting selected in this round, there were 3 rounds, two technical and one HR round. And finally got selected at American Express.
Why selected/rejected for the role?
I was selected because I showed growth mindset and confidence in all my responses. Also, I had a good resume and good problem solving skills.
Preparation
Duration: 6 months
Topics: Data structures, Algorithms, OOPS, DBMS, Operating System
Tip
Tip

Tip 1 : Have self confidence during the interview
Tip 2 : Practice DSA problems with variety of topics
Tip 3 : Have good knowledge of the projects mentioned in the resume

Application process
Where: Other
Eligibility: No backlogs
Resume Tip
Resume tip

Tip 1 : The resume should be one-pager and try to highlight important information.
Tip 2 : It should be grammatically correct.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration90 minutes
Interview date15 Jan 2022
Coding problem3

It had 2 leetcode medium and 1 leetcode hard question, need to be solved in 1.5 hours.

1. Bus Routes

Moderate
30m average time
70% success
0/80
Asked in companies
UberAmerican ExpressMcKinsey & Company

This time Ninja is helping a lost passenger on a bus stop to reach his destiny with the minimum number of buses he needs to change, on the bus stop a chart is present which contains 'N' arrays. An array 'A' denotes the route that a bus will take, such that A[i] denotes the bus stop 'i'th bus will travel to.

For Example
If the bus route is [3, 6, 7], then it will travel  in sequence 
3 > 6 > 7 > 3 > 6 > 7….

You can travel between the bus stations through buses only. You are given the source bus station and destination bus station. You need to determine the minimum number of buses you need to reach the destination. If it is not possible to reach destination return -1.

Note:
Values of A[i] are distinct.
Problem approach

(Medium) Solved by doing bfs and considering the graph as undirected.

Try solving now

2. Different Subsequences GCD

Hard
25m average time
75% success
0/120
Asked in company
American Express

You are given an array “ARR” of positive integers. Your task is to find the number of different GCD’s in all the non-empty subsequences of the given array.

Note:

The GCD of a list of numbers is defined as the greatest number that perfectly divides all the members of the given list. For example, the GCD of 6, 8, and 10 is 2.

A subsequence of the array is a list that can be made by using some elements of the given array. All the elements can also be part of a subsequence.

For example: the array [1, 2] has subsequences: [1], [2] and [1, 2]. Similarly for the array [1, 2, 3], one of the subsequences is [1, 3].
Try solving now

3. Rearrange string

Hard
50m average time
50% success
0/120
Asked in companies
eBayAdobeMicrosoft

You are given a string “S”. Your task is to rearrange the characters of a string “S”, such that it does not contain any two adjacent characters which are the same.

If it is possible to rearrange the string “S”, then print any possible arrangement. else, print “not possible” without quotes.

For Example:

For a string  “qaacde”, This string has two same adjacent characters.
So, one possible way to rearrange the string is “qacade”. Now, this string does not have two adjacent characters that are the same. 
Try solving now
02
Round
Medium
Video Call
Duration60 minutes
Interview date30 Jan 2022
Coding problem2

There were two questions asked related to Arrays and graphs, to be solved in 1 hour in front of interviewer.

1. Longest Consecutive Sequence

Moderate
40m average time
70% success
0/80
Asked in companies
WalmartOptumAmazon

You are given an unsorted array/list 'ARR' of 'N' integers. Your task is to return the length of the longest consecutive sequence.

The consecutive sequence is in the form ['NUM', 'NUM' + 1, 'NUM' + 2, ..., 'NUM' + L] where 'NUM' is the starting integer of the sequence and 'L' + 1 is the length of the sequence.

Note:

If there are any duplicates in the given array we will count only one of them in the consecutive sequence.
For example-
For the given 'ARR' [9,5,4,9,10,10,6].

Output = 3
The longest consecutive sequence is [4,5,6].
Follow Up:
Can you solve this in O(N) time and O(N) space complexity?
Problem approach

The idea is to use Hashing. We first insert all elements in a Set. Then check all the possible starts of consecutive subsequences.

Try solving now

2. Find Number Of Islands

Moderate
34m average time
60% success
0/80
Asked in companies
WalmartShareChatAmazon

You are given a 2-dimensional array/list having N rows and M columns, which is filled with ones(1) and zeroes(0). 1 signifies land, and 0 signifies water.

A cell is said to be connected to another cell, if one cell lies immediately next to the other cell, in any of the eight directions (two vertical, two horizontal, and four diagonals).

A group of connected cells having value 1 is called an island. Your task is to find the number of such islands present in the matrix.

Problem approach

The idea is to keep an additional matrix to keep track of the visited nodes in the given matrix, and perform DFS to find the total number of islands.

Try solving now
03
Round
Medium
Video Call
Duration60 minutes
Interview date30 Jan 2022
Coding problem1

It had mix-up of questions from core subjects. The interviewer was quite chill.

1. Theory Question

What is multithreading?

What is Outer left join?

Gave some sample tables and asked to perform outer left join manually as well to write a query as well.

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
4 rounds | 7 problems
Interviewed by American Express
4234 views
0 comments
0 upvotes
company logo
SDE - 1
5 rounds | 8 problems
Interviewed by American Express
1248 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 4 problems
Interviewed by American Express
1556 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