Upload Button Icon Add office photos

Filter interviews by

American Express SDE-2 Interview Questions and Answers

Updated 21 May 2022

American Express SDE-2 Interview Experiences

1 interview found

SDE-2 Interview Questions & Answers

user image Anonymous

posted on 21 May 2022

I was interviewed in Jan 2022.

Round 1 - Video Call 

(2 Questions)

Round duration - 60 minutes
Round difficulty - Easy

It was a L1 technical round where questions from DS algo were asked, along with my work exp and projects. It was a face to face video round with 2 panel members

  • Q1. Find Number Of Islands

    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 conn...

  • Ans. 

    import java.io.*;
    import java.util.*;
    public class Main
    {
    public static void DFS(int[][] input, int i, int j, int row, int col){
    if(i<0||j<0||i>row-1||j>col-1){
    return;
    }
    if(input[i][j]==1){
    input[i][j]=0;
    DFS(input,i+1,j,row,col);
    DFS(input,i-1,j,row,col);
    DFS(input,i,j+1,row,col);
    DFS(input,i,j-1,row,col);
    }
    }

    public static int countNumber(int[][] input, int row, int col){
    int count =0;
    for(int i=0;i {
    for(int j=0;j if(inpu...

  • Answered Anonymously
  • Q2. System Design Question

    How to prevent breaking of singleton pattern using reflections?

  • Ans. 

    Tip 1 : Provide correct answer i you know
    Tip 2 : Revise Java concepts

  • Answered Anonymously
Round 2 - Video Call 

(1 Question)

Round duration - 30 minutes
Round difficulty - Medium

It was a System design round and the interviewer was very friendly, he gave ample hints and it was a productive interaction.

  • Q1. System Design Question

    Design LRU cache.

  • Ans. 

    Tip 1 : Practise System Design well
    Tip 2 : Ask questions wherein necessary

  • Answered Anonymously
Round 3 - HR 

Round duration - 45 minutes
Round difficulty - Easy

It was a standard manager where I was asked many questions related to my work exp and behavioural questions

Interview Preparation Tips

Professional and academic backgroundI completed Computer Science Engineering from IIIT,BBSR. I applied for the job as SDE - 2 in GurgaonEligibility criteriaNoAmerican Express interview preparation:Topics to prepare for the interview - Data Structures, OOPS, System Design, Java, DatabaseTime required to prepare for the interview - 2 monthsInterview preparation tips for other job seekers

Tip 1 : Focus on Core Java and development 
Tip 2 : Practise easy -medium questions

Application resume tips for other job seekers

Tip 1 : Projects should be well defined use bullet points
Tip 2 : Describe your work ex/ intern exp well

Final outcome of the interviewSelected

Skills evaluated in this interview

Interview questions from similar companies

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Approached by Company and was interviewed in Jul 2024. There were 3 interview rounds.

Round 1 - Coding Test 

DSA, Leetcode medium -2 problems

Round 2 - One-on-one 

(2 Questions)

  • Q1. Easy Leetcode Problem: Count of substrings with no repeating characters
  • Ans. 

    Count substrings with unique characters in a given string

    • Use a sliding window approach to keep track of unique characters in a substring

    • Use a set to store characters in the current window and update the window accordingly

    • Increment the count of valid substrings whenever a new character is added to the set

  • Answered by AI
  • Q2. Debugging a Java Code
  • Ans. 

    Debugging a Java code involves identifying and fixing errors in the code to ensure it runs correctly.

    • Start by understanding the error message or symptoms of the issue.

    • Use debugging tools like breakpoints, watches, and logging to track the flow of the code.

    • Review the code logic and check for common mistakes like typos, incorrect variable assignments, or logic errors.

    • Test different scenarios to reproduce the issue and na...

  • Answered by AI
Round 3 - One-on-one 

(1 Question)

  • Q1. Design Parking System
  • Ans. 

    Design a parking system with different types of parking spots

    • Create classes for different types of parking spots (e.g. compact, regular, handicap)

    • Implement methods for checking availability, reserving, and releasing spots

    • Consider implementing a parking lot class to manage all parking spots

  • Answered by AI

Skills evaluated in this interview

I was interviewed in May 2022.

Round 1 - Face to Face 

(1 Question)

Round duration - 60 minutes
Round difficulty - Medium

Round started with an intro about the project. In my project i have mentioned that i had use Cassandra. The interviewer asked why use Cassandra , why not other No Sql database.
After that the interviewer started asking about the java concepts. How exception propagate takes in case of polymorphism.
There a question about multilevel inheritance. There were three classes parent, child , grandchild in a multlevel inheritance.
All three classes have a function with same name.
Question was about if we call a method something like this 
Parent p = new Grandchild();
p.method1();
which class method would be called

  • Q1. First Missing Positive

    You are given an array 'ARR' of integers of length N. Your task is to find the first missing positive integer in linear time and constant space. In other words, find the lowe...

  • Ans. Searching
    1. Since we are given an integer ‘N’, there could be a maximum of ‘N’ positive integers in the array.
    2. The minimum positive number is 1, hence we can search from 1 to N in the array.
    3. Run a loop from 1 to N, and search for each element in the array.
    4. If the element is present in the array then search for the next element.
    5. If it is not present then, the element is the answer.
    6. Otherwise, if all the elements between 1 to N ...
  • Answered Anonymously
Round 2 - Video Call 

(1 Question)

Round duration - 60 minutes
Round difficulty - Medium

Interviewer started with some questions about Database locks .
I had to prepare a low level design of the library management system.
Then there were follow up questions regarding how many database table you will use, normalizing those databse table, writing the service logic for one of the functionality

  • Q1. System Design Question

    Library management System

Round 3 - HR 

(1 Question)

Round duration - 30 Minutes
Round difficulty - Easy

It was managerial round. They asked few questions about the project and why you use this particular technology.

  • Q1. Basic HR questions

    Questions about project and why the use of this particular technology

  • Ans. 

    Tip 1 : Make sure to study why you have use this particular tech
     

  • Answered Anonymously

Interview Preparation Tips

Eligibility criteriaNo criteriaMorgan Stanley interview preparation:Topics to prepare for the interview - Data Structures,Java 8 new features,Low Level Design,Database indexes and locksKnowledge of ProjectTime required to prepare for the interview - 3 monthsInterview preparation tips for other job seekers

Tip 1 : Be very clear with java basics, polymorphism in multilevel inheritance. Future, callable, completable furture in concurrency, stream api.Concurrent hash map, Database locks , how Database indexes are fast.
Tip 2 : In 2 round they are going to make you do a low level design for an application. In my case it was library management system, Be ready for the follow up questions like how many tables are you going to use this low level design, normalizing the tables you have used. Write logic for one of the service in the low level design.
Tip 3 : For the managerial round, you should know why you used this partcular tech stack.

Application resume tips for other job seekers

Tip 1 : Only mention those things in projects which you have really done in your organization. Morgan stanley is particular rigorous about the projects. 
Tip 2 : Be sure to highlight what business values your project brought to the organization

Final outcome of the interviewSelected

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(1 Question)

  • Q1. OOPS Concepts,Java Coding,Testing
Round 2 - Technical 

(1 Question)

  • Q1. Selenium, APIs, Automation
Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-
Round 1 - One-on-one 

(2 Questions)

  • Q1. What is salary expectating?
  • Ans. 

    I am looking for a competitive salary based on my experience and skills.

    • Research industry standards for SDET Engineer salaries

    • Consider my level of experience and skills

    • Factor in location and cost of living

    • Negotiate based on benefits and perks offered by the company

  • Answered by AI
  • Q2. What is your experience
  • Ans. 

    I have 5 years of experience in software development and testing, with a focus on automation and quality assurance.

    • 5 years of experience in software development and testing

    • Specialize in automation and quality assurance

    • Proficient in programming languages such as Java and Python

    • Experience with testing frameworks like Selenium and JUnit

    • Worked on various projects to improve testing processes and efficiency

  • Answered by AI
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Campus Placement and was interviewed before Jul 2023. There were 3 interview rounds.

Round 1 - Coding Test 

It was a combined technical + aptitude round consisted of different sections. No codes only has to write algo

Round 2 - One-on-one 

(2 Questions)

  • Q1. Lot of questions from oops
  • Q2. DBMS,CN,Operating systems
Round 3 - HR 

(2 Questions)

  • Q1. Project based discussion
  • Q2. Asked about the technical round

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare dsa, and other core subjects weel bcoz it depends on interviewer to chose the topic of questions
Interview experience
2
Poor
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Aptitude Test 

70mins on java code,and MCQ

Round 2 - Coding Test 

On Java programming 40 minutes

Round 3 - One-on-one 

(1 Question)

  • Q1. Did not clear 2nd round
Interview experience
1
Bad
Difficulty level
Hard
Process Duration
2-4 weeks
Result
No response

I applied via Referral and was interviewed before Feb 2023. There were 3 interview rounds.

Round 1 - Aptitude Test 

Quant and verbal ability

Round 2 - Coding Test 

Questions from DSA and webdevelopement

Round 3 - HR 

(1 Question)

  • Q1. About my goals with the company and how will I contribute to it.

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare well and try to answer question in your own words rather than looking online for them

I applied via campus placement at Birla Institute of Technology (BIT), Ranchi and was interviewed before Sep 2021. There were 3 interview rounds.

Round 1 - Coding Test 

2 coding question, 1 section of business aptitude and 1 section english.

Round 2 - Technical 

(2 Questions)

  • Q1. Design a chess game.
  • Ans. 

    A classic chess game with standard rules and pieces.

    • Create a board with 8x8 squares

    • Place 16 pieces on each side: 1 king, 1 queen, 2 rooks, 2 knights, 2 bishops, and 8 pawns

    • Define the movement rules for each piece

    • Implement special moves like castling and en passant

    • Check for checkmate and stalemate conditions

    • Allow for player vs player or player vs computer gameplay

  • Answered by AI
  • Q2. N queens problem. Minimum steps by knight.
  • Ans. 

    The N Queens problem is to place N chess queens on an NxN board so that no two queens threaten each other. Minimum steps by knight is a variation of this problem.

    • The N Queens problem is a classic problem in computer science and can be solved using backtracking.

    • The minimum steps by knight variation involves placing N knights on an NxN board so that no two knights threaten each other.

    • This problem can also be solved using...

  • Answered by AI
Round 3 - Telephonic Call 

(1 Question)

  • Q1. Hr questions were asked. And location preference.

Interview Preparation Tips

Interview preparation tips for other job seekers - Be confident. Tell truth. Know your resume well.

Skills evaluated in this interview

I was interviewed in Mar 2021.

Round 1 - Video Call 

(1 Question)

Round duration - 80 minutes
Round difficulty - Medium

  • Q1. Increasing Path In Matrix

    You are given a 2-D matrix ‘mat’, consisting of ’N’ rows and ‘M’ columns. The element at the i-th row and j-th column is ‘mat[i][j]’.

    From mat[i][j], you can move to mat[i+1][j]...

  • Ans. Recursion

    Algorithm

     

    • This is a recursive approach.
    • Make a recursive function ‘helper(row, col)’ and call this function with (0, 0). In each recursive step do the following-:
      • Initialize an integer variable ‘temp’: = 0.
      • If cell (row+1, c) exist and mat[row+1][col] > mat[row][col], then recursively call ‘helper(row+1, col)’ and update ‘temp’ with maximum of ‘temp’ and value return by ‘helper(row+1, col)’.
      • If cell (row, ...
  • Answered Anonymously
Round 2 - Video Call 

(1 Question)

Round duration - 50 minutes
Round difficulty - Hard

It was purely Data Structures and Maths.

  • Q1. Arithmetic Progression Queries

    Given an integer array(ARR) of size N, the following operations need to be performed:

    update(l, r, val) : Add (val + i) to arr[l + i] where, 0 <= i <= r - l.
    
    rangeSum...
  • Ans. Brute Force

    In this approach, for each operation, we will be simply doing what we need to do to perform that task. For update operation, we will iterate over the array and update the given value in increasing order as mentioned in the problem description update operation. Similarly, for rangesum operation, we will iterate over the array for the given range and add all elements. For example, consider the input array as [...

  • Answered Anonymously
Round 3 - Video Call 

Round duration - 70 Minutes
Round difficulty - Easy

Round 4 - Coding Test 

(1 Question)

Round duration - 30 Minutes
Round difficulty - Easy

  • Q1. Pattern Matching

    You are given a pattern in the form of a string and a collection of words. Your task is to determine if the pattern string and the collection of words have the same order.

    Note :
    The str...
  • Ans. Using Hashing

    The approach is to use hashing. We can maintain two HashMaps. One HashMap can be used to know which character corresponds to which word. The other HashMap can be used to know whether a particular word has already been matched with any other character or not. 

     

    So, for each character in the pattern, we check for its corresponding word in the first map. If the character is not present in the first m...

  • Answered Anonymously

Interview Preparation Tips

Professional and academic backgroundI completed Computer Science Engineering from Maharaja Surajmal Institute Of Technology. I applied for the job as SDE - 2 in MumbaiEligibility criteriaNoJPMorgan Chase & Co. interview preparation:Topics to prepare for the interview - Data Structures and Algorithms, OOPS, Probability, System Design, Project (thoroughly).Time required to prepare for the interview - 2 MonthsInterview preparation tips for other job seekers

Tip 1 : I solved Interviewbit mostly
Tip 2 : Revised my Coding Ninjas Course 
Tip 3 : Created One Project (Helped me a lot during Design Interview )

Application resume tips for other job seekers

Tip 1 : I have done some internship as a Software Developer.
Tip 2 : Have some good project on my resume.

Final outcome of the interviewSelected

Skills evaluated in this interview

Tell us how to improve this page.

Interview Questions from Similar Companies

ICICI Bank Interview Questions
4.0
 • 2.4k Interviews
HDFC Bank Interview Questions
3.9
 • 2.1k Interviews
Axis Bank Interview Questions
3.8
 • 1.4k Interviews
Wells Fargo Interview Questions
3.9
 • 553 Interviews
HSBC Group Interview Questions
4.0
 • 485 Interviews
UBS Interview Questions
4.0
 • 333 Interviews
BNY Interview Questions
4.0
 • 328 Interviews
Morgan Stanley Interview Questions
3.7
 • 300 Interviews
Citicorp Interview Questions
3.7
 • 278 Interviews
View all

American Express SDE-2 Reviews and Ratings

based on 1 review

2.0/5

Rating in categories

1.0

Skill development

1.0

Work-life balance

3.0

Salary

5.0

Job security

1.0

Company culture

1.0

Promotions

1.0

Work satisfaction

Explore 1 Review and Rating
Business Analyst
870 salaries
unlock blur

₹10.1 L/yr - ₹17 L/yr

Assistant Manager
706 salaries
unlock blur

₹14 L/yr - ₹42 L/yr

Senior Analyst
577 salaries
unlock blur

₹5.3 L/yr - ₹23 L/yr

Analyst
571 salaries
unlock blur

₹12.2 L/yr - ₹27 L/yr

Lead Analyst
497 salaries
unlock blur

₹4 L/yr - ₹13 L/yr

Explore more salaries
Compare American Express with

MasterCard

4.0
Compare

Visa

3.6
Compare

PayPal

3.9
Compare

State Bank of India

3.8
Compare
Did you find this page helpful?
Yes No
write
Share an Interview