Filter interviews by
I applied via Referral and was interviewed before Sep 2022. There were 3 interview rounds.
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
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 applied via LinkedIn and was interviewed in Oct 2024. There was 1 interview round.
Write code to return the maximum profit by buying and selling stocks using available money
I applied via Referral and was interviewed in Oct 2023. There were 2 interview rounds.
Pagination in SQL allows for displaying a subset of query results at a time.
Use LIMIT and OFFSET clauses in SQL queries to implement pagination.
LIMIT specifies the maximum number of rows to return.
OFFSET specifies the number of rows to skip before starting to return rows.
Threads and tasks are both used in multiprocessing, but have different characteristics and use cases.
Threads are lightweight processes within a single process, sharing memory space. They are managed by the operating system.
Tasks are units of work that can be executed asynchronously. They are typically managed by a task scheduler.
Threads are suitable for parallel processing and improving performance, while tasks are use...
ViewBag is used to pass data from controller to view, while TempData is used to pass data between controller actions.
ViewBag is a dynamic property that allows you to pass data from controller to view
TempData is a dictionary object that allows you to pass data between controller actions
ViewBag is not type-safe and requires typecasting, while TempData is type-safe
ViewBag data is lost if redirection occurs, while TempData
Abstract classes can have both abstract and non-abstract methods, while interfaces can only have abstract methods.
Abstract classes can have constructors, fields, and non-abstract methods.
Interfaces can only have abstract methods and constants.
A class can implement multiple interfaces but can only inherit from one abstract class.
posted on 7 May 2024
I applied via Campus Placement and was interviewed before May 2023. There were 3 interview rounds.
It was basic aptitude test on rs aggrawal
based on 1 interview
Interview experience
Applications Engineer
6
salaries
| ₹0 L/yr - ₹0 L/yr |
Technical Support Engineer
5
salaries
| ₹0 L/yr - ₹0 L/yr |
Team Lead
5
salaries
| ₹0 L/yr - ₹0 L/yr |
Computer Operator
4
salaries
| ₹0 L/yr - ₹0 L/yr |
Support Engineer
3
salaries
| ₹0 L/yr - ₹0 L/yr |
HSBC Group
Cholamandalam Investment & Finance
Citicorp
BNY