Filter interviews by
posted on 16 Dec 2024
DSA type questions later asked with Time complexity
Top trending discussions
I was interviewed in Jan 2025.
Test was based on arrays and some dsa concepts.
Yes
Java uses pass by value for all variables, including object references.
When an object reference is passed as an argument, a copy of the reference is passed, not the actual object.
Modifying the reference inside the method will not affect the original reference outside the method.
However, modifications to the object's state inside the method will be visible outside the method.
Singleton pattern restricts the instantiation of a class to a single object.
Singleton pattern ensures that only one instance of a class exists throughout the application.
It provides a global point of access to the instance.
Commonly used in scenarios where a single instance needs to coordinate actions across the system.
Example: Database connection manager, logger, configuration manager.
posted on 15 May 2024
I applied via LinkedIn and was interviewed in Apr 2024. There was 1 interview round.
HashMap is implemented using an array of linked lists to handle collisions.
HashMap stores key-value pairs in an array of linked lists
Hash function is used to determine the index of the array where the key-value pair will be stored
Collision handling is done by chaining, where multiple key-value pairs with the same hash value are stored in the same linked list
HashMap allows null keys and values
HashMap is not synchronized...
Finding smallest of 4 numbers without using >.< and min function in Java.
Initialize a variable with the first number
Compare it with the remaining numbers using if-else statements
If a smaller number is found, update the variable
Repeat until all numbers are compared
The final value of the variable will be the smallest number
Code for palindrome checking
Convert the input to lowercase to ignore case sensitivity
Use two pointers, one at the start and one at the end of the string
Compare the characters at both pointers and move them towards each other
If all characters match, it's a palindrome
Javascript code to display 'Hello World!' on the webpage
Create a new HTML file
Add a script tag with 'type' attribute set to 'text/javascript'
Inside the script tag, use document.write() to display 'Hello World!'
Swap two numbers without using a temporary variable.
Use addition and subtraction to swap the values
Use XOR operator to swap the values
Use multiplication and division to swap the values
To add 2 tables, we need to use a join operation on a common column.
Identify the common column between the tables
Choose the appropriate join type (inner, outer, left, right)
Write the SQL query to join the tables
Example: SELECT * FROM table1 INNER JOIN table2 ON table1.column = table2.column
Union combines and removes duplicates, Union All combines all rows including duplicates.
Union is used to combine the result sets of two or more SELECT statements and remove duplicates.
Union All is used to combine the result sets of two or more SELECT statements and includes all rows, including duplicates.
Union is slower than Union All as it has to remove duplicates.
Union requires the same number of columns in all SELEC...
Being assigned a project with unrealistic deadlines and minimal guidance
Received a project with tight deadlines and unclear requirements
Struggled to meet the deadlines due to lack of guidance and support
Had to work long hours and weekends to try to complete the project
Learned the importance of clear communication and setting realistic expectations
posted on 13 May 2017
I was interviewed before May 2016.
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...
based on 1 interview
Interview experience
Senior Associate
32
salaries
| ₹0 L/yr - ₹0 L/yr |
Principal Associate
17
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Engineer
17
salaries
| ₹0 L/yr - ₹0 L/yr |
Data Analyst
11
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Software Engineer
10
salaries
| ₹0 L/yr - ₹0 L/yr |
American Express
HSBC Group
JPMorgan Chase & Co.
Wells Fargo