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

Fullstack Developer

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

Interview preparation journey

expand-icon
Preparation
Duration: 6 months
Topics: Data Structures, Algorithms, OOPS, OS, DBMS
Tip
Tip

Tip 1 : Be good at problem solving, accuracy and speed matters.
Tip 2 : Also prepare core CS subjects, OS, OOPS, DBMS.
Tip 3 : Be thorough with your resumé.

Application process
Where: Campus
Eligibility: Above 7 CGPA
Resume Tip
Resume tip

Tip 1 : Keep at least 2 great projects on resume.
Tip 2 : Try to include only tech-related information in resumé( for SDE roles).

Interview rounds

01
Round
Medium
Online Coding Interview
Duration90 minutes
Interview date19 Aug 2021
Coding problem3

The test happened at 9 PM, and the duration was of 90 mins. The test was held on Codility platform.

1. Reach the destination

Easy
15m average time
85% success
0/40
Asked in companies
HCL TechnologiesSamsungAmerican Express

Given a source point (sx, sy) and a destination point (dx, dy), the task is to check if it is possible to reach the destination point using the following valid moves:

(a, b) -> (a + b, b)
(a, b) -> (a, a + b)

Your task is to find if it is possible to reach the destination point using only the desired moves or not.

For example:
For the coordinates, source point = (1, 1) and destination point = (3, 5)
The output will be true as the destination point can be reached using the following sequence of moves:
(1, 1) -> (1, 2) -> (3, 2) -> (3, 5)
Try solving now

2. Circular Move

Easy
20m average time
80% success
0/40
Asked in companies
AmazonFlipkartAmerican Express

You have a robot currently standing at the origin (0, 0) of a two-dimensional grid and facing north direction. You are given a sequence of moves for the robot in the form of a string of size 'N'. You are required to find whether the path followed by the robot upon taking the moves is circular or not.

A sequence of moves is circular if and only if the robot ends up from where it initially started.

The sequence of moves contains only three types of moves.

'G': it means that the robot will move 1 unit in the direction it is facing.

'L': it means that the robot will move 90 degrees towards its left. For example, if the robot is facing north and it has to make an ‘L’ move, then it will start facing the west direction.

'R': it means the robot will move 90 degrees towards its right. For example, if the robot is facing north and it has to make an ‘R’ move then it will start facing the east direction.
Try solving now

3. Buy and Sell Stock

Hard
0/120
Asked in companies
ZomatoInfo Edge India (Naukri.com)Expedia Group

You are Harshad Mehta’s friend. He told you the price of a particular stock for the next ‘n’ days.


You are given an array ‘prices’ which such that ‘prices[i]’ denotes the price of the stock on the ith day.


You don't want to do more than 2 transactions. Find the maximum profit that you can earn from these transactions.


Note

1. Buying a stock and then selling it is called one transaction.

2. You are not allowed to do multiple transactions at the same time. This means you have to sell the stock before buying it again. 
Example:
Input: ‘n’ = 7, ‘prices’ = [3, 3, 5, 0, 3, 1, 4].

Output: 6

Explanation: 
The maximum profit can be earned by:
Transaction 1: Buying the stock on day 4 (price 0) and then selling it on day 5 (price 3). 
Transaction 2: Buying the stock on day 6 (price 1) and then selling it on day 6 (price 4).
Total profit earned will be (3 - 0) + ( 4 - 1) = 6. 
Try solving now
02
Round
Easy
Video Call
Duration45 minutes
Interview date24 Aug 2021
Coding problem1

The timing for this round was around 10 AM. How to optimize website assets loading? Explain Hoisting in javascript.

1. Number Of Pairs With Given Sum

Moderate
39m average time
60% success
0/80
Asked in companies
AmazonSamsungCisco

You have been given an integer array/list(arr) and a number 'Sum'. Find and return the total number of pairs in the array/list which when added, results equal to the 'Sum'.

Note:
Given array/list can contain duplicate elements.

(arr[i],arr[j]) and (arr[j],arr[i]) are considered same.
Try solving now
03
Round
Easy
Online Coding Interview
Duration30 minutes
Interview date24 Aug 2021
Coding problem4

This was a problem solving round and consisted of puzzles and mathematical problems.

1. Puzzle

A man fell in a 50m deep well. He climbs 4 meters up and slips 3 meters down in one day. How many days would it take for him to come out of the well?

2. Puzzle

Suppose you take 5 mins to think for a coding task, another 10 mins to code where you write 100 lines of code. You take a break of 5 mins every 10 mins. How much lines of code will you have written at the end of 60mins.

3. Puzzle

There is a room with a door (closed) and three light bulbs. Outside the room, there are three switches, connected to the bulbs. You may manipulate the switches as you wish, but once you open the door you can’t change them. Identify each switch with its bulb. All bulbs are in working condition.

4. Puzzle

You are given Rs 100 every week. Every day you put Rs 5 in you piggy bank except on Sunday you put Rs 10. You take a bus to college, one side trip costs Rs 4, you do 2 trips a day. You have your lunch in college, at Rs 10 each day, except on Saturday, which costs Rs 25 that day. College runs from Monday to Saturday. Now you decide to buy your favourite book that costs Rs 100. How many day(s) will you not take the bus so you could buy this book and be left with Rs 3 as well.

04
Round
Easy
Video Call
Duration30 minutes
Interview date24 Aug 2021
Coding problem0

This was more of a discussion round, where the interviewer asked me related to my internship. Situational based questions were asked related to work at AmEx.

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 create a function in JavaScript?

Choose another skill to practice
Start a Discussion
Similar interview experiences
company logo
Intern
3 rounds | 3 problems
Interviewed by American Express
689 views
0 comments
0 upvotes
company logo
SDE - 1
5 rounds | 8 problems
Interviewed by American Express
817 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 6 problems
Interviewed by American Express
898 views
1 comments
0 upvotes
company logo
SDE - 1
3 rounds | 4 problems
Interviewed by American Express
1021 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Fullstack Developer
6 rounds | 5 problems
Interviewed by Microsoft
1699 views
0 comments
0 upvotes
company logo
Fullstack Developer
4 rounds | 10 problems
Interviewed by Paytm (One97 Communications Limited)
1480 views
1 comments
0 upvotes
company logo
Fullstack Developer
2 rounds | 2 problems
Interviewed by Samsung
1532 views
0 comments
0 upvotes