American Express
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
Find an odd occurring number among even occurring numbers.
Use XOR operation to cancel out even occurring numbers and get the odd occurring number.
Iterate through the array and XOR each element with the result variable.
The final result will be the odd occurring number.
Print the spiral order of a binary tree and matrix.
For binary tree, use level order traversal and alternate direction for each level.
For matrix, use four pointers to traverse in spiral order.
Example for binary tree: 1 -> 2 -> 3 -> 4 -> 5 -> 6 -> 7 -> 8 -> 9
Example for matrix: 1 2 3 4 -> 8 7 6 5 -> 9 10 11 12 -> 16 15 14 13
Finding pairs in an array with a given sum.
Iterate through the array and for each element, check if the difference between the given sum and the element exists in the array.
Use a hash table to store the elements of the array and their indices for faster lookup.
If there are multiple pairs with the same sum, return any one of them.
If no pair is found, return null or an empty array.
Find total number of k element with given avg in an array in minimum time complexity.
Use sliding window technique to traverse the array in O(n) time complexity.
Maintain a sum variable to keep track of the sum of elements in the window.
If the sum of elements in the window is equal to k times the given avg, increment the count.
Move the window by subtracting the first element and adding the next element in the array.
Printing non-boundary elements of a binary tree
Traverse the tree in any order (preorder, inorder, postorder)
Check if the current node is not a boundary node (not the first or last node in its level)
If it is not a boundary node, print its value
Recursively traverse its left and right subtrees
I have a strong background in software engineering and a passion for innovation, making me a valuable asset to HSBC.
I have a proven track record of successfully delivering high-quality software solutions in previous roles.
I am highly skilled in various programming languages and technologies, including Java, Python, and SQL.
I have experience working in agile development environments, allowing me to adapt quickly to chan...
To find the frequency of each word in a sentence.
Split the sentence into words
Create a dictionary to store word frequency
Iterate through the words and update the dictionary
Return the dictionary
I applied via Campus Placement and was interviewed before Sep 2020. There were 5 interview rounds.
I applied via Campus Placement and was interviewed before Nov 2021. There were 3 interview rounds.
Moderate level aptitude with basics
Moderate level data structure questions
I applied via Walk-in and was interviewed in Jan 2023. There were 6 interview rounds.
Work and distance, work and time
SQL server and manual test and Java
Number system and rational and proportion
Clarity on manual test and Java class
Software is a set of instructions that tells a computer what to do.
Software is a collection of programs, data, and instructions that tell a computer how to perform specific tasks.
It can be categorized into system software, application software, and middleware.
Examples of software include Microsoft Office, Adobe Photoshop, and Google Chrome.
White Box testing is a software testing technique that examines the internal structure and implementation of the system.
White Box testing is also known as Clear Box testing, Glass Box testing, or Structural testing.
It involves testing the code, logic paths, and internal components of the software.
Test cases are designed based on the knowledge of the internal structure of the system.
It helps in identifying errors, code ...
Software testing is the process of evaluating a software application or system to ensure it meets the specified requirements.
Software testing is done to identify defects or errors in the software.
It involves executing the software with test cases and comparing the actual results with expected results.
Different types of testing include unit testing, integration testing, system testing, and acceptance testing.
Testing can...
I appeared for an interview before Mar 2024, where I was asked the following questions.
based on 2 reviews
Rating in categories
Business Analyst
812
salaries
| ₹9.5 L/yr - ₹16.8 L/yr |
Assistant Manager
701
salaries
| ₹14.5 L/yr - ₹42 L/yr |
Analyst
622
salaries
| ₹12.4 L/yr - ₹27 L/yr |
Senior Analyst
604
salaries
| ₹6 L/yr - ₹24.7 L/yr |
Lead Analyst
494
salaries
| ₹4.2 L/yr - ₹13 L/yr |
MasterCard
Wells Fargo
JPMorgan Chase & Co.
HSBC Group