Filter interviews by
Find the longest substring in a given string that reads the same forwards and backwards.
Use dynamic programming to build a table that tracks palindromic substrings.
Expand around potential centers (each character and between characters) to find palindromes.
Example: In 'babad', 'bab' and 'aba' are both valid longest palindromic substrings.
Example: In 'cbbd', 'bb' is the longest palindromic substring.
The Two Sum problem involves finding two numbers in an array that add up to a specific target sum.
Use a hash map to store numbers and their indices for quick lookup.
Iterate through the array, for each number, check if (target - number) exists in the map.
Example: For array [2, 7, 11, 15] and target 9, return indices [0, 1] as 2 + 7 = 9.
Time complexity is O(n) due to single pass through the array.
Space complexity is...
Content hugging is a constraint used in Auto Layout to determine how much a view resists growing beyond its intrinsic content size.
Content hugging priority is a value between 1 and 1000, with higher values indicating a stronger resistance to growing.
Views with higher content hugging priorities will try to maintain their intrinsic content size rather than expand to fill available space.
Content hugging is often used...
Retain cycle occurs when two objects hold a strong reference to each other, preventing them from being deallocated.
Occurs in iOS development when two objects have strong references to each other
Can lead to memory leaks as the objects are never deallocated
Prevented by using weak or unowned references in Swift
What people are saying about HSBC Group
SOLID principles are a set of five design principles in object-oriented programming to make software designs more understandable, flexible, and maintainable.
S - Single Responsibility Principle: A class should have only one reason to change.
O - Open/Closed Principle: Software entities should be open for extension but closed for modification.
L - Liskov Substitution Principle: Objects of a superclass should be replac...
Binary search is an efficient algorithm for finding an item from a sorted list of items.
Binary search works on sorted arrays or lists.
It divides the search interval in half repeatedly.
If the target value is less than the middle element, search the left half.
If the target value is greater, search the right half.
Example: In a sorted array [1, 2, 3, 4, 5], searching for 3 returns index 2.
Clustering groups data points based on similarity while classification assigns labels to data points based on predefined categories.
Clustering is unsupervised learning while classification is supervised learning.
Clustering is used to find patterns in data while classification is used to predict the category of a data point.
Examples of clustering algorithms include k-means and hierarchical clustering while examples...
I would like to create a program that generates a random password.
Use a combination of letters, numbers, and special characters
Allow the user to specify the length of the password
Ensure that the password is strong and not easily guessable
My area of interest is machine learning and artificial intelligence.
I enjoy working with large datasets and developing algorithms to analyze and extract insights from them.
I have experience with various machine learning techniques such as regression, classification, and clustering.
I am also interested in natural language processing and computer vision.
Some examples of my work include developing a recommendation sy...
I approach conflicts by actively listening, identifying the root cause, and finding a mutually beneficial solution.
Listen to all parties involved and understand their perspectives
Identify the root cause of the conflict
Brainstorm potential solutions with all parties
Find a mutually beneficial solution
Communicate the solution clearly and ensure all parties agree
I applied via Campus Placement and was interviewed in Oct 2024. There were 3 interview rounds.
Questions were on basic arrays and strings
I applied via Campus Placement
Mcq based on coding and maths
Basic aaray and string manupulation questions
I applied via Referral and was interviewed in Apr 2024. There was 1 interview round.
Auto layout is a constraint-based layout system used in iOS and macOS development to create user interfaces that adapt to different screen sizes and orientations.
Auto layout allows developers to create flexible and adaptive user interfaces by defining relationships between UI elements.
Constraints are used to specify the position and size of UI elements relative to each other or to the parent view.
Auto layout automatica...
Content hugging is a constraint used in Auto Layout to determine how much a view resists growing beyond its intrinsic content size.
Content hugging priority is a value between 1 and 1000, with higher values indicating a stronger resistance to growing.
Views with higher content hugging priorities will try to maintain their intrinsic content size rather than expand to fill available space.
Content hugging is often used in c...
I applied via Campus Placement
3 questions, pretty easy ones
I appeared for an interview in Sep 2024, where I was asked the following questions.
Dsa questions were asked in this round , comparator functions, sql, acid properties , mergesort, system design
I applied via Campus Placement and was interviewed in Nov 2022. There were 4 interview rounds.
It was aptitute test consisting of three sections. Mainly arithmetic, sequences, Visual aptitude, Reading comprehension, grammer
2 coding questions, It was on SHL. Don't remember the exact questions but they were fairly straightforward. One was on Arrays, and the other on sorting. I was able to solve both.
I am a software engineer with a passion for problem-solving and a strong interest in the financial industry. I want to work at HSBC because of its global presence, reputation, and the opportunity to work on innovative projects.
I have a strong background in software development and have worked on various projects, including developing web applications and implementing complex algorithms.
I am highly motivated and enjoy t...
I want to join HSBC because of its global presence, reputation, and opportunities for growth.
HSBC is a renowned global bank with a strong presence in multiple countries.
I am attracted to the reputation and brand value of HSBC.
HSBC offers a wide range of career opportunities and growth prospects.
The company's focus on innovation and technology aligns with my passion for software engineering.
HSBC's diverse and inclusive ...
Yes, I can manage stress effectively.
I have developed various strategies to cope with stress, such as time management, prioritization, and relaxation techniques.
I maintain a healthy work-life balance to prevent burnout and manage stress levels.
I communicate openly with my team and seek support when needed, which helps in reducing stress.
I practice mindfulness and self-care activities like exercise and meditation to sta...
Easy level aptitude
Easy to medium level
based on 22 interview experiences
Difficulty level
Duration
based on 153 reviews
Rating in categories
Assistant Manager
2.8k
salaries
| ₹5.5 L/yr - ₹13.2 L/yr |
Manager
2.2k
salaries
| ₹14 L/yr - ₹24.1 L/yr |
Senior Software Engineer
1.8k
salaries
| ₹13.2 L/yr - ₹24 L/yr |
Assistant Vice President
1.7k
salaries
| ₹25 L/yr - ₹43 L/yr |
Software Engineer
1.5k
salaries
| ₹7.8 L/yr - ₹14 L/yr |
Wells Fargo
JPMorgan Chase & Co.
Cholamandalam Investment & Finance
Citicorp