American Express
10+ ABH Developers Interview Questions and Answers
You are given an array/list of ‘N’ integers. You are supposed to return the maximum sum of the subsequence with the constraint that no two elements are adjacent in the given ...read more
You are given a list of “N” strings A. Your task is to check whether you can form a given target string using a combination of one or more strings of A.
Note :
You can use any string of A multiple tim...read more
There is a directed graph consisting of ‘N’ nodes numbered from 0 to ‘N’-1. You are given a list ‘EDGES’ of size ‘M’, consisting of all the edges of this directed graph,...read more
You have been given a string STR and a non-empty string PTR. Your task is to find all the starting indices of PTR’s anagram in STR.
An anagram of a string is another string which contains the s...read more
You are given an array of integers and a number ‘K’. You can pair two elements in the array 'ARR' if the absolute difference between them is strictly less than ‘K’. Your task...read more
Ninja is learning tree data structure these days. While learning, she came across learn about the Binary Search tree. She found BST quite interesting. She decided to make her own Binary Search...read more
1. SQL query to find second highest salary?
2. Join questions
3. Write a query to find the Nth highest salary from the table without using TOP/limit keyword.
Given 2 linked lists which merge at some point. Find the node at which the lists merge.
1. Camel and Banana Puzzle
2. Tell me about the projects you worked on
3. Asked me some questions related to my projects
Detect loop in a linked list.
Q11. find if array of numbers, which are prime, using streams
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
Q12. Spring java and how do you leverage in your project
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
Q13. How to implement security in microservices
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 KMS.
Implement monitoring and logging to detect and respon...read more
Q14. A program to print 1 to n prime numbers
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
More about working at American Express
Interview Process at ABH Developers
Top Software Developer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month