American Express
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
I applied via Company Website and was interviewed before May 2023. There were 3 interview rounds.
Basic, but have to be quick
Easy to Medium, clear all test cases
posted on 17 Aug 2022
Hackerearth round 3 hours
posted on 1 Oct 2024
I applied via Campus Placement
DP graphs strings it was good
Reverse a linked list by changing the direction of pointers
Start with three pointers: current, previous, and next
Iterate through the list, updating pointers to reverse the direction
Return the new head of the reversed list
The Fibonacci series is a sequence of numbers where each number is the sum of the two preceding ones.
Start with two variables initialized to 0 and 1
Loop through desired number of iterations, adding the previous two numbers to get the next number
Print or store each number in the series
Quants, DSA, Logical, Analytical, OS, DBMS
posted on 7 Mar 2024
I applied via Approached by Company and was interviewed in Sep 2023. There were 4 interview rounds.
posted on 7 May 2024
I applied via Walk-in and was interviewed in Apr 2024. There was 1 interview round.
Java 8 introduced new features like lambda expressions, streams, and default methods, improving code readability and performance.
Lambda expressions allow for more concise code and easier parallel programming.
Streams provide a way to work with collections in a functional style, enabling easier processing of large data sets.
Default methods allow interfaces to have method implementations, reducing the need for abstract cl...
General apti questions
Work-life balance and career progression
I applied via Naukri.com and was interviewed in Oct 2022. There were 2 interview rounds.
Given an array and target, find the index pair of elements the sum becomes target.
Use a hash table to store the difference between target and current element
Check if the difference exists in the hash table
Return the indices of the current element and the difference
I applied via Recruitment Consulltant and was interviewed in Feb 2022. There were 3 interview rounds.
I applied via Referral and was interviewed in Apr 2021. There were 4 interview rounds.
Weak reference is a reference that does not prevent the object from being garbage collected.
Weak references are used to refer to objects that can be garbage collected if there are no strong references to them.
They are typically used in scenarios where you want to hold a reference to an object, but don't want to prevent it from being collected.
Weak references are implemented using weak reference queues, which allow you ...
Singleton pattern ensures a class has only one instance, while allowing global access to it.
Implement a private constructor to prevent direct instantiation.
Create a static method to provide a single point of access to the instance.
Use lazy initialization to create the instance only when needed.
Ensure thread safety in a multithreaded environment using synchronization or double-checked locking.
Breaking the singleton patt...
Annotations used in Spring Framework for defining components and services.
Annotations like @Component, @Service, and @Controller are used for defining components in Spring Framework.
@RestController is used for defining RESTful web services.
@Configuration is used for defining configuration classes.
@Transactional is used for defining transactional methods.
All these annotations help in defining and managing dependencies i
HashSet is implemented using a HashMap internally. Same hashcode is generated when two objects have the same value for hashCode() and equals() methods.
HashSet internally uses a HashMap to store its elements.
The hashcode of an object is generated using the hashCode() method.
If two objects have the same value for hashCode() and equals() methods, they will generate the same hashcode.
For example, if two String objects have...
SQL Cursor is a database object used to manipulate data row by row.
Cursor is used to fetch and process data row by row
Index is a database object used to speed up data retrieval
Aggregate functions are used to perform calculations on a set of values
Examples of aggregate functions are SUM, AVG, COUNT, MAX, MIN
Generate palindrome string with given length and distinct characters.
Create a char array of length n and fill it with distinct characters.
Loop through the array and add the characters in reverse order to create a palindrome.
Repeat the process until the required number of palindromes are generated.
If k is less than the length of the palindrome, use the first k distinct characters.
Find the highest value that occurs the same number of times within an array.
Iterate through the array and count the occurrences of each value.
Store the counts in a dictionary or hash map.
Find the maximum count and check which value(s) have that count.
Return the highest value among those with the maximum count.
Count occurrences of a character in a string and output in a specific format.
Use a hash table to store the count of each character.
Loop through the string and update the count in the hash table.
Create the output string using the hash table.
Converts a string from Camel case to Snake case.
Loop through the string and check for uppercase letters
Insert an underscore before each uppercase letter
Convert the string to lowercase
Logic to get Map using Stream API to show balance of each person
Use Stream API to group accounts by name
Use map() to get the sum of balances for each group
Collect the results into a Map
Interview experience
Business Analyst
872
salaries
| ₹9.7 L/yr - ₹17 L/yr |
Assistant Manager
712
salaries
| ₹14 L/yr - ₹42 L/yr |
Senior Analyst
586
salaries
| ₹5.9 L/yr - ₹23 L/yr |
Analyst
498
salaries
| ₹12.5 L/yr - ₹27 L/yr |
Lead Analyst
496
salaries
| ₹4 L/yr - ₹13 L/yr |
MasterCard
Visa
PayPal
State Bank of India