Upload Button Icon Add office photos

American Express

Compare button icon Compare button icon Compare

Proud winner of ABECA 2025 - AmbitionBox Employee Choice Awards

zig zag pattern zig zag pattern

Filter interviews by

American Express Software Developer Interview Questions and Answers

Updated 10 Jan 2025

11 Interview questions

A Software Developer was asked 7mo ago
Q. Write a program to print prime numbers from 1 to n.
Ans. 

Program to print 1 to n prime numbers

  • Iterate from 2 to n and check if each number is prime

  • Use a function to check if a number is prime

  • Print the prime numbers found

A Software Developer was asked 9mo ago
Q. Write a function to determine if an array of numbers are prime using streams.
Ans. 

Use streams to find prime numbers in an array

  • Use Java streams to filter out non-prime numbers from the array

  • Check if a number is prime by dividing it by all numbers less than its square root

  • Create a method to check if a number is prime

Software Developer Interview Questions Asked at Other Companies

asked in Amazon
Q1. Maximum Subarray Sum Problem Statement Given an array of integers ... read more
asked in Rakuten
Q2. Merge Two Sorted Arrays Problem Statement Given two sorted intege ... read more
asked in Amazon
Q3. Minimum Number of Platforms Needed Problem Statement You are give ... read more
asked in Cognizant
Q4. Nth Fibonacci Number Problem Statement Calculate the Nth term in ... read more
asked in PhonePe
Q5. Form a Triangle Problem Statement You are given an array of integ ... read more
A Software Developer was asked 11mo ago
Q. How have you leveraged Spring Java in your projects?
Ans. 

I leverage Spring Java for dependency injection, MVC framework, and transaction management in my projects.

  • Utilize Spring's dependency injection to manage object dependencies and improve code maintainability

  • Leverage Spring MVC framework for building web applications with clean separation of concerns

  • Use Spring's transaction management to ensure data integrity and consistency in database operations

A Software Developer was asked
Q. How do you implement security in microservices?
Ans. 

Implement security in microservices by using authentication, authorization, encryption, and monitoring.

  • Use authentication mechanisms like OAuth, JWT, or API keys to verify the identity of clients accessing the microservices.

  • Implement authorization controls to define what actions users can perform within the microservices.

  • Encrypt data in transit and at rest using protocols like HTTPS and TLS, and tools like Vault o...

A Software Developer was asked
Q. 

Find All Anagrams Problem Statement

Given a string STR and a non-empty string PTR, identify all the starting indices of anagrams of PTR within STR.

Explanation:

An anagram of a string is another string t...

Ans. 

Given a string STR and a non-empty string PTR, find all starting indices of anagrams of PTR within STR.

  • Create a frequency map of characters in PTR.

  • Use sliding window technique to check anagrams in STR.

  • Return the starting indices of anagrams found.

A Software Developer was asked
Q. 

All Paths From Source Lead To Destination Problem Statement

In a directed graph with 'N' nodes numbered from 0 to N-1, determine whether every possible path starting from a given source node (SRC) eventual...

Ans. 

Determine if all paths from a source node lead to a destination node in a directed graph.

  • Check if there is at least one path from source to destination.

  • If a node has no outgoing edges, it should be the destination.

  • Ensure the number of paths from source to destination is finite.

  • Traverse the graph to validate all paths lead to the destination.

A Software Developer was asked
Q. 

Word Break Problem Statement

You are given a list of N strings called A. Your task is to determine whether you can form a given target string by combining one or more strings from A.

The strings from A ca...

Ans. 

Given a list of strings, determine if a target string can be formed by combining one or more strings from the list.

  • Iterate through all possible combinations of strings from the list to form the target string.

  • Use recursion to try different combinations of strings.

  • Check if the current combination forms the target string.

  • Return true if a valid combination is found, otherwise return false.

Are these interview questions helpful?
🔥 Asked by recruiter 2 times
A Software Developer was asked
Q. 

Maximum Non-Adjacent Subsequence Sum

Given an array of integers, determine the maximum sum of a subsequence without choosing adjacent elements in the original array.

Input:

The first line consists of an ...
Ans. 

Find the maximum sum of a subsequence without choosing adjacent elements in an array.

  • Use dynamic programming to keep track of the maximum sum at each index, considering whether to include or exclude the current element.

  • At each index, the maximum sum can be either the sum of the current element and the element two positions back, or the sum at the previous index.

  • Iterate through the array and update the maximum sum ...

A Software Developer was asked
Q. 

Maximum Sum With Specific Difference Problem Statement

Given an array of integers and a number 'K', your task is to find the maximum possible sum of disjoint pairs of numbers where the absolute difference ...

Ans. 

Find maximum sum of disjoint pairs with absolute difference less than K in an array.

  • Iterate through the array and sort it.

  • Find all possible disjoint pairs with absolute difference less than K.

  • Calculate the sum of these pairs to get the maximum sum.

A Software Developer was asked
Q. 

Ninja And The Tree Problem Statement

Ninja, while learning Binary Search Trees (BST), accidentally swapped two nodes in her self-constructed BST. Your task is to help Ninja by correcting the BST so that al...

Ans. 

The task is to correct a Binary Search Tree by swapping two nodes in the tree.

  • Parse the input level order tree and construct the BST

  • Identify the two nodes that are swapped incorrectly

  • Swap the values of the incorrectly swapped nodes to correct the BST

  • Return the corrected BST in level order form

American Express Software Developer Interview Experiences

11 interviews found

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

There were three coding questions.

Round 2 - Technical 

(5 Questions)

  • Q1. Could you provide a thorough explanation of the project?
  • Q2. OOps Concepts and question from the technical subjects
  • Q3. Why Spring Boot
  • Q4. JWT Authentication
  • Q5. Docker and Kubernetes
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
No response

I applied via Company Website and was interviewed in Aug 2024. There was 1 interview round.

Round 1 - Technical 

(2 Questions)

  • Q1. Functional interface
  • Q2. Find if array of numbers, which are prime, using streams
  • Ans. 

    Use streams to find prime numbers in an array

    • Use Java streams to filter out non-prime numbers from the array

    • Check if a number is prime by dividing it by all numbers less than its square root

    • Create a method to check if a number is prime

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Basics, functional interfaces, REST security

Skills evaluated in this interview

Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

Basic coding questions were asked , majorly focused on graph and trees

Round 2 - Technical 

(1 Question)

  • Q1. Explain your projects
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

90 mins in Codility platforms

Interview Preparation Tips

Interview preparation tips for other job seekers - Just prepare the basic concepts and research more on the company and take hr questions seriously and prepare for them beforehand
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(1 Question)

  • Q1. Spring java and how do you leverage in your project
  • Ans. 

    I leverage Spring Java for dependency injection, MVC framework, and transaction management in my projects.

    • Utilize Spring's dependency injection to manage object dependencies and improve code maintainability

    • Leverage Spring MVC framework for building web applications with clean separation of concerns

    • Use Spring's transaction management to ensure data integrity and consistency in database operations

  • Answered by AI

Skills evaluated in this interview

Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(1 Question)

  • Q1. How to implement security in microservices
  • Ans. 

    Implement security in microservices by using authentication, authorization, encryption, and monitoring.

    • Use authentication mechanisms like OAuth, JWT, or API keys to verify the identity of clients accessing the microservices.

    • Implement authorization controls to define what actions users can perform within the microservices.

    • Encrypt data in transit and at rest using protocols like HTTPS and TLS, and tools like Vault or AWS...

  • Answered by AI

Skills evaluated in this interview

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

I applied via Job Fair and was interviewed before Nov 2023. There were 2 interview rounds.

Round 1 - Technical 

(2 Questions)

  • Q1. A program to print 1 to n prime numbers
  • Ans. 

    Program to print 1 to n prime numbers

    • Iterate from 2 to n and check if each number is prime

    • Use a function to check if a number is prime

    • Print the prime numbers found

  • Answered by AI
  • Q2. Questions regarding rest api
Round 2 - Behavioral 

(2 Questions)

  • Q1. All behavioural questions
  • Q2. Agile Principles

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Selected Selected

I applied via Campus Placement and was interviewed before Apr 2023. There were 2 interview rounds.

Round 1 - Coding Test 

Normal DS Algo on HackerEarth

Round 2 - One-on-one 

(2 Questions)

  • Q1. Past projects and experience discussion!
  • Q2. 2 DS Algo questions

I appeared for an interview in Sep 2021.

Round 1 - Coding Test 

(2 Questions)

Round duration - 90 Minutes
Round difficulty - Medium

  • Q1. 

    Word Break Problem Statement

    You are given a list of N strings called A. Your task is to determine whether you can form a given target string by combining one or more strings from A.

    The strings from A c...

  • Ans. 

    Given a list of strings, determine if a target string can be formed by combining one or more strings from the list.

    • Iterate through all possible combinations of strings from the list to form the target string.

    • Use recursion to try different combinations of strings.

    • Check if the current combination forms the target string.

    • Return true if a valid combination is found, otherwise return false.

  • Answered by AI
  • Q2. 

    All Paths From Source Lead To Destination Problem Statement

    In a directed graph with 'N' nodes numbered from 0 to N-1, determine whether every possible path starting from a given source node (SRC) eventua...

  • Ans. 

    Determine if all paths from a source node lead to a destination node in a directed graph.

    • Check if there is at least one path from source to destination.

    • If a node has no outgoing edges, it should be the destination.

    • Ensure the number of paths from source to destination is finite.

    • Traverse the graph to validate all paths lead to the destination.

  • Answered by AI
Round 2 - Video Call 

(2 Questions)

Round duration - 45 Minutes
Round difficulty - Medium

  • Q1. 

    Maximum Non-Adjacent Subsequence Sum

    Given an array of integers, determine the maximum sum of a subsequence without choosing adjacent elements in the original array.

    Input:

    The first line consists of an...
  • Ans. 

    Find the maximum sum of a subsequence without choosing adjacent elements in an array.

    • Use dynamic programming to keep track of the maximum sum at each index, considering whether to include or exclude the current element.

    • At each index, the maximum sum can be either the sum of the current element and the element two positions back, or the sum at the previous index.

    • Iterate through the array and update the maximum sum accor...

  • Answered by AI
  • Q2. 

    Find All Anagrams Problem Statement

    Given a string STR and a non-empty string PTR, identify all the starting indices of anagrams of PTR within STR.

    Explanation:

    An anagram of a string is another string ...

  • Ans. 

    Given a string STR and a non-empty string PTR, find all starting indices of anagrams of PTR within STR.

    • Create a frequency map of characters in PTR.

    • Use sliding window technique to check anagrams in STR.

    • Return the starting indices of anagrams found.

  • Answered by AI
Round 3 - Video Call 

Round duration - 45 Minutes
Round difficulty - Easy

First half of the interview was based on DBMS, OS and some puzzles. Second half was dedicated to projects related questions.

Round 4 - HR 

Round duration - 20 Minutes
Round difficulty - Easy

Interview Preparation Tips

Professional and academic backgroundI applied for the job as SDE - 1 in GurgaonEligibility criteriaNo criteriaAmerican Express interview preparation:Topics to prepare for the interview - Data Structures and Algorithms, Computer Networks, DBMS, SQL, OOPS, Operating System, Linux CommandsTime required to prepare for the interview - 6 MonthsInterview preparation tips for other job seekers

Tip 1 : Practice atleast 200 leetcode easy to medium level questions
Tip 2 : Take part in hackathon to learn time management during coding test
Tip 3 : Make 2-3 good projects

Application resume tips for other job seekers

Tip 1 : It should be ATS friendly
Tip 2 : Do not be repetitive
Tip 3 : Be confident about techs you mention on your resume

Final outcome of the interviewSelected

Skills evaluated in this interview

I appeared for an interview before Dec 2020.

Round 1 - Coding Test 

(2 Questions)

Round duration - 90 minutes
Round difficulty - Medium

  • Q1. 

    Maximum Sum With Specific Difference Problem Statement

    Given an array of integers and a number 'K', your task is to find the maximum possible sum of disjoint pairs of numbers where the absolute difference...

  • Ans. 

    Find maximum sum of disjoint pairs with absolute difference less than K in an array.

    • Iterate through the array and sort it.

    • Find all possible disjoint pairs with absolute difference less than K.

    • Calculate the sum of these pairs to get the maximum sum.

  • Answered by AI
  • Q2. 

    Ninja And The Tree Problem Statement

    Ninja, while learning Binary Search Trees (BST), accidentally swapped two nodes in her self-constructed BST. Your task is to help Ninja by correcting the BST so that a...

  • Ans. 

    The task is to correct a Binary Search Tree by swapping two nodes in the tree.

    • Parse the input level order tree and construct the BST

    • Identify the two nodes that are swapped incorrectly

    • Swap the values of the incorrectly swapped nodes to correct the BST

    • Return the corrected BST in level order form

  • Answered by AI

Interview Preparation Tips

Professional and academic backgroundI applied for the job as Software Developer in BangaloreEligibility criteriaAbove 7 CGPAAmerican Express interview preparation:Topics to prepare for the interview - OOPs concept. Various concepts like static, non-static, virtual function, abstract class, interface, etc. Dynamic programming(imp), Data Structures - Linked List, Graph, stack , queue, treeTime required to prepare for the interview - 8 monthsInterview preparation tips for other job seekers

Tip 1 : Solve Code chef long challenges
Tip 2 : Solve at least problem A, B,C of codeforces competition(help to solve problems in time limit).
Tip 3 : Having at least 1 good project is a plus point.

Application resume tips for other job seekers

Tip 1 : Not more than 2 pages(1 page is good)
Tip 2 : Must know about each and every point in the resume.
Tip 3 : There should be no grammatical error in the resume.

Final outcome of the interviewRejected

Skills evaluated in this interview

Top trending discussions

View All
Interview Tips & Stories
6d (edited)
a team lead
Why are women still asked such personal questions in interview?
I recently went for an interview… and honestly, m still trying to process what just happened. Instead of being asked about my skills, experience, or how I could add value to the company… the questions took a totally unexpected turn. The interviewer started asking things like When are you getting married? Are you engaged? And m sure, if I had said I was married, the next question would’ve been How long have you been married? What does my personal life have to do with the job m applying for? This is where I felt the gender discrimination hit hard. These types of questions are so casually thrown at women during interviews but are they ever asked to men? No one asks male candidates if they’re planning a wedding or how old their kids are. So why is it okay to ask women? Can we please stop normalising this kind of behaviour in interviews? Our careers shouldn’t be judged by our relationship status. Period.
Got a question about American Express?
Ask anonymously on communities.

American Express Interview FAQs

How many rounds are there in American Express Software Developer interview?
American Express interview process usually has 1-2 rounds. The most common rounds in the American Express interview process are Technical, Coding Test and One-on-one Round.
What are the top questions asked in American Express Software Developer interview?

Some of the top questions asked at the American Express Software Developer interview -

  1. find if array of numbers, which are prime, using stre...read more
  2. Spring java and how do you leverage in your proj...read more
  3. How to implement security in microservi...read more

Tell us how to improve this page.

Overall Interview Experience Rating

4.3/5

based on 8 interview experiences

Difficulty level

Moderate 100%

Duration

Less than 2 weeks 67%
2-4 weeks 33%
View more
American Express Software Developer Salary
based on 90 salaries
₹18.8 L/yr - ₹72.7 L/yr
343% more than the average Software Developer Salary in India
View more details

American Express Software Developer Reviews and Ratings

based on 6 reviews

4.5/5

Rating in categories

3.4

Skill development

4.8

Work-life balance

4.0

Salary

4.6

Job security

4.5

Company culture

3.7

Promotions

3.6

Work satisfaction

Explore 6 Reviews and Ratings
Business Analyst
825 salaries
unlock blur

₹5.9 L/yr - ₹13.6 L/yr

Assistant Manager
723 salaries
unlock blur

₹20 L/yr - ₹36 L/yr

Senior Analyst
669 salaries
unlock blur

₹12.3 L/yr - ₹21 L/yr

Analyst
572 salaries
unlock blur

₹12.2 L/yr - ₹20.5 L/yr

Manager
513 salaries
unlock blur

₹27 L/yr - ₹47 L/yr

Explore more salaries
Compare American Express with

MasterCard

3.9
Compare

Wells Fargo

3.8
Compare

JPMorgan Chase & Co.

3.9
Compare

HSBC Group

3.9
Compare
write
Share an Interview