Upload Button Icon Add office photos

HSBC Group

Compare button icon Compare button icon Compare

Filter interviews by

HSBC Group Software Developer Interview Questions and Answers

Updated 16 Oct 2024

18 Interview questions

🔥 Asked by recruiter 2 times
A Software Developer was asked 8mo ago
Q. Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target. You may assume that each input would have exactly one solution, and you may not use ...
Ans. 

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, checking if the complement (target - current number) exists in the hash map.

  • Example: For nums = [2, 7, 11, 15] and target = 9, return indices [0, 1] since 2 + 7 = 9.

  • Time complexity is O(n) due to a single pass through the arr...

A Software Developer was asked
Q. What are DBMS and RDBMS, and what are the differences between them?
Ans. 

DBMS stands for Database Management System, while RDBMS stands for Relational Database Management System. RDBMS is a type of DBMS.

  • DBMS is a software system that allows users to define, create, maintain and control access to the database.

  • RDBMS is a type of DBMS that stores data in a structured format using tables with rows and columns.

  • RDBMS enforces a set of rules called ACID properties to ensure data integrity, wh...

Software Developer Interview Questions Asked at Other Companies

asked in Amazon
Q1. Maximum Subarray Sum Problem Statement Given an array of integers ... read more
asked in Rakuten
Q2. Merge Two Sorted Arrays Problem Statement Given two sorted intege ... read more
asked in Amazon
Q3. Minimum Number of Platforms Needed Problem Statement You are give ... read more
asked in Cognizant
Q4. Nth Fibonacci Number Problem Statement Calculate the Nth term in ... read more
asked in PhonePe
Q5. Form a Triangle Problem Statement You are given an array of integ ... read more
A Software Developer was asked
Q. What are the 4 pillars of OOPs?
Ans. 

Encapsulation, Inheritance, Polymorphism, Abstraction

  • Encapsulation: Bundling data and methods that operate on the data into a single unit

  • Inheritance: Ability of a class to inherit properties and behavior from another class

  • Polymorphism: Ability to present the same interface for different data types

  • Abstraction: Hiding the complex implementation details and showing only the necessary features

A Software Developer was asked
Q. What is Object-Oriented Programming?
Ans. 

Object oriented programming is a programming paradigm based on the concept of objects, which can contain data and code.

  • Objects are instances of classes, which define the structure and behavior of the objects.

  • Encapsulation, inheritance, and polymorphism are key principles of object oriented programming.

  • Example: Inheritance allows a class to inherit properties and methods from another class.

  • Example: Encapsulation hi...

What people are saying about HSBC Group

View All
a devops engineer
1w
HSBC: How long 'til they get back to me?
Hey, I cleared the online assessment at HSBC and it shows as passed, but it’s been radio silence from HR for 2 weeks now. What's the typical wait time before they reach out for the next interview round?
Got a question about HSBC Group?
Ask anonymously on communities.
A Software Developer was asked
Q. What are the different types of joins in DBMS?
Ans. 

Different types of joins in DBMS include inner join, outer join, left join, right join, and full join.

  • Inner join: Returns rows when there is a match in both tables.

  • Outer join: Returns all rows from one table and only matching rows from the other table.

  • Left join: Returns all rows from the left table and the matched rows from the right table.

  • Right join: Returns all rows from the right table and the matched rows from...

A Software Developer was asked
Q. What is the difference between Stacks and Queues?
Ans. 

Stacks are Last In First Out (LIFO) data structures, while Queues are First In First Out (FIFO) data structures.

  • Stacks: Elements are added and removed from the same end, like a stack of plates. Example: Undo feature in text editors.

  • Queues: Elements are added at the rear and removed from the front, like a line of people waiting. Example: Print queue in a printer.

A Software Developer was asked
Q. Write code implementing all four pillars of OOPs.
Ans. 

Code implementing all 4 pillars of OOPs

  • Encapsulation: Encapsulate data within classes and provide public methods to access and modify the data.

  • Inheritance: Create a hierarchy of classes where child classes inherit attributes and methods from parent classes.

  • Polymorphism: Allow objects of different classes to be treated as objects of a common superclass through method overriding and overloading.

  • Abstraction: Hide com...

Are these interview questions helpful?
A Software Developer was asked
Q. What are the differences between C and C++?
Ans. 

C is a procedural programming language while C++ is an object-oriented programming language.

  • C is a procedural programming language, while C++ supports both procedural and object-oriented programming.

  • C does not have classes and objects, while C++ does.

  • C does not support function overloading, while C++ does.

  • C does not have exception handling, while C++ does.

  • C does not have namespaces, while C++ does.

A Software Developer was asked
Q. Write code to find the 2nd largest element in an array.
Ans. 

Code to find the 2nd largest element in an array

  • Sort the array in descending order and return the element at index 1

  • Iterate through the array and keep track of the two largest elements

  • Handle edge cases like arrays with less than 2 elements

A Software Developer was asked
Q. What is merge sort and its algorithm?
Ans. 

Merge sort is a divide and conquer algorithm that divides the input array into two halves, sorts them recursively, and then merges them.

  • Divide the input array into two halves

  • Recursively sort each half

  • Merge the sorted halves back together

HSBC Group Software Developer Interview Experiences

10 interviews found

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Aptitude Test 

MCQ test consisting of 70 mcqs in 75 minutes from aptitude english and cs fundamentals. If cleared next paper 2 coding qs medium level

Round 2 - Technical 

(2 Questions)

  • Q1. Two sum leetcode problem
  • Ans. 

    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, checking if the complement (target - current number) exists in the hash map.

    • Example: For nums = [2, 7, 11, 15] and target = 9, return indices [0, 1] since 2 + 7 = 9.

    • Time complexity is O(n) due to a single pass through the array.

  • Answered by AI
  • Q2. What problems you faced in your project
  • Ans. 

    I faced challenges with integrating third-party APIs and debugging complex logic.

    • Difficulty in understanding and implementing third-party APIs

    • Issues with data synchronization between different systems

    • Troubleshooting complex logic errors

    • Managing dependencies and version conflicts

    • Time constraints affecting problem-solving

  • Answered by AI
Interview experience
3
Average
Difficulty level
Moderate
Process Duration
4-6 weeks
Result
No response
Round 1 - One-on-one 

(2 Questions)

  • Q1. SOLID Principle
  • Q2. Throw vs throw ex
  • Ans. 

    throw vs throw ex is used in exception handling in C#

    • throw is used to rethrow the current exception without losing the original stack trace

    • throw ex is used to throw a new exception while preserving the original exception information

    • It is recommended to use throw without specifying ex to avoid losing important exception details

  • Answered by AI

Skills evaluated in this interview

Software Developer Interview Questions & Answers

user image Shubhangi Bhattacharya

posted on 7 Mar 2024

Interview experience
2
Poor
Difficulty level
-
Process Duration
-
Result
-

I applied via Campus Placement

Round 1 - Aptitude Test 

East to medium level test covering basic aptitude topics and logical reasoning / pattern questions on AON

Round 2 - Coding Test 

2 easy to medium level questions that can be solved in either python / cpp/ java

Round 3 - Technical 

(1 Question)

  • Q1. Technical interview was of 30 min. Complete focus is given to resume. But interview depends on interviewer. there were 18 panelists. Some were asked questions as easy as Prime no code. But I was asked to w...

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare your resume, every topic mentioned should be thoroughly known by you. Prepare SQL Queries, OS, DBMS , DSA and your projects. Finally confidence is the key
Interview experience
3
Average
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Not Selected

I applied via Campus Placement and was interviewed in Jan 2023. There were 4 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Aptitude Test 

It was just a typical logical reasoning and aptitude MCQ test

Round 3 - Coding Test 

There were 2 coding questions and you can select any language for solving it. The test was online

Round 4 - Technical 

(13 Questions)

  • Q1. He simply asked me which coding language I prefer and why ? (Mine was C++)
  • Ans. 

    I prefer C++ for its performance, flexibility, and extensive libraries, making it ideal for system-level programming and game development.

    • Performance: C++ offers low-level memory manipulation, which is crucial for high-performance applications like game engines.

    • Object-Oriented: C++ supports OOP principles, allowing for better organization and modularity in code, as seen in large software projects.

    • Standard Template Libr...

  • Answered by AI
  • Q2. Difference between C and C++?
  • Ans. 

    C is a procedural programming language while C++ is an object-oriented programming language.

    • C is a procedural programming language, while C++ supports both procedural and object-oriented programming.

    • C does not have classes and objects, while C++ does.

    • C does not support function overloading, while C++ does.

    • C does not have exception handling, while C++ does.

    • C does not have namespaces, while C++ does.

  • Answered by AI
  • Q3. What is Object oriented programming?
  • Ans. 

    Object oriented programming is a programming paradigm based on the concept of objects, which can contain data and code.

    • Objects are instances of classes, which define the structure and behavior of the objects.

    • Encapsulation, inheritance, and polymorphism are key principles of object oriented programming.

    • Example: Inheritance allows a class to inherit properties and methods from another class.

    • Example: Encapsulation hides t...

  • Answered by AI
  • Q4. What are the 4 pillars of OOPs?
  • Ans. 

    Encapsulation, Inheritance, Polymorphism, Abstraction

    • Encapsulation: Bundling data and methods that operate on the data into a single unit

    • Inheritance: Ability of a class to inherit properties and behavior from another class

    • Polymorphism: Ability to present the same interface for different data types

    • Abstraction: Hiding the complex implementation details and showing only the necessary features

  • Answered by AI
  • Q5. Write down code implementing all 4 pillars of OOPs.
  • Ans. 

    Code implementing all 4 pillars of OOPs

    • Encapsulation: Encapsulate data within classes and provide public methods to access and modify the data.

    • Inheritance: Create a hierarchy of classes where child classes inherit attributes and methods from parent classes.

    • Polymorphism: Allow objects of different classes to be treated as objects of a common superclass through method overriding and overloading.

    • Abstraction: Hide complex ...

  • Answered by AI
  • Q6. Difference between Stacks and Queues?
  • Ans. 

    Stacks are Last In First Out (LIFO) data structures, while Queues are First In First Out (FIFO) data structures.

    • Stacks: Elements are added and removed from the same end, like a stack of plates. Example: Undo feature in text editors.

    • Queues: Elements are added at the rear and removed from the front, like a line of people waiting. Example: Print queue in a printer.

  • Answered by AI
  • Q7. Write a code to find the 2nd largest element in an array.
  • Ans. 

    Code to find the 2nd largest element in an array

    • Sort the array in descending order and return the element at index 1

    • Iterate through the array and keep track of the two largest elements

    • Handle edge cases like arrays with less than 2 elements

  • Answered by AI
  • Q8. What is merge sort and its Algorithm ?
  • Ans. 

    Merge sort is a divide and conquer algorithm that divides the input array into two halves, sorts them recursively, and then merges them.

    • Divide the input array into two halves

    • Recursively sort each half

    • Merge the sorted halves back together

  • Answered by AI
  • Q9. What is DBMS and RDBMS and difference between them?
  • Ans. 

    DBMS stands for Database Management System, while RDBMS stands for Relational Database Management System. RDBMS is a type of DBMS.

    • DBMS is a software system that allows users to define, create, maintain and control access to the database.

    • RDBMS is a type of DBMS that stores data in a structured format using tables with rows and columns.

    • RDBMS enforces a set of rules called ACID properties to ensure data integrity, while D...

  • Answered by AI
  • Q10. What is SQL and who its different from mySQL?
  • Ans. 

    SQL is a standard language for managing databases, while MySQL is a specific open-source relational database management system.

    • SQL stands for Structured Query Language and is used to communicate with databases.

    • SQL is a standard language that can be used with various database management systems.

    • MySQL is a specific open-source relational database management system that uses SQL.

    • MySQL is one of the most popular database m...

  • Answered by AI
  • Q11. Difference between Delete, Truncate and Drop?
  • Ans. 

    Delete removes specific rows from a table, Truncate removes all rows from a table, and Drop removes the table itself.

    • Delete is a DML command that removes specific rows from a table based on a condition.

    • Truncate is a DDL command that removes all rows from a table but keeps the table structure.

    • Drop is a DDL command that removes the entire table along with its structure.

  • Answered by AI
  • Q12. Different kind of Joins in DBMS ?
  • Ans. 

    Different types of joins in DBMS include inner join, outer join, left join, right join, and full join.

    • Inner join: Returns rows when there is a match in both tables.

    • Outer join: Returns all rows from one table and only matching rows from the other table.

    • Left join: Returns all rows from the left table and the matched rows from the right table.

    • Right join: Returns all rows from the right table and the matched rows from the ...

  • Answered by AI
  • Q13. And at last 2 to 3 SQL queries. They were not that hard, Just basic queries.

Interview Preparation Tips

Interview preparation tips for other job seekers - Well be prepared with DSA,OOPs and DBMS concept. If you don't know BST or Graphs or Heaps that well, no problem just be confident. Most of the times they don't ask anything more that linked list.
If you don't know the answer of a coding question (NOTE: not a theoretical question) try for sometime to come up with the solution and while thinking keep saying your approach out loud to the interview and if after taking 1 to 2 mins you still don't know just say, Sorry I can't recall it right now but I will definitely get to it after the interview. Don't use this approach for theoretical questions, Either you have an answer to that or not.
Never Beat around the bush, be specific and to the point.

And at last, I just wanna say that passing an interview needs 40% skill, 20% communication, 20% confidence, 10% mood of the interview and 10% is luck.

Why I am saying mood of the interview and luck????
In my case, I was not selected for the final HR round. First of all, in all 137 students selected for the technical interview, my name was at 111 and randomly they called the first student for the interview and it was me. So that's luck.
OK after I entered my interviewer cabin, I saw a look of aggression on my interviewers face. We didn't smiled once during my 50min interview. He didn't even asked me to introduce myself.

He asked me 15 questions in total and I correctly answers 10 of them to the point and for the rest 5 I explained my approach to them.
Still I got rejected, and one of my friend who was answered like 2 questions out of 10 got selected because his interviewer was different. (NOTE: I am really happy for my friend, He is like my best buddy and my only well wisher that I know about).

So yeah just prepare well and be confident and even if things go south and you gave your best, just think that today was not your day and just move on.

Skills evaluated in this interview

Software Developer Interview Questions & Answers

user image Deepesh Gupta

posted on 2 Aug 2023

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
-
Result
Not Selected

I applied via Campus Placement

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Double-check your resume for any spelling mistakes. The recruiter may consider spelling mistakes as careless behavior or poor communication skills.
View all tips
Round 2 - Aptitude Test 

Basic Aptitude and Technical Question

Round 3 - Coding Test 

2 coding Questions asked from array and strings

Round 4 - One-on-one 

(2 Questions)

  • Q1. Projects were asked
  • Q2. Resume should be prepared well
Round 5 - HR 

(1 Question)

  • Q1. Basic HR questions were asked
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

Related to the DSA and concepts of OS and CN

Round 2 - Technical 

(1 Question)

  • Q1. Palindrome question
Interview experience
2
Poor
Difficulty level
Moderate
Process Duration
More than 8 weeks
Result
Not Selected

I applied via Campus Placement and was interviewed in Sep 2022. There were 4 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Don’t add your photo or details such as gender, age, and address in your resume. These details do not add any value.
View all tips
Round 2 - Aptitude Test 

The basic aptitude questions were asked along with technical mcqs

Round 3 - Coding Test 

If you clear the 1st round then one coding challenge will be opened the level of question will be moderate it would be on Cocubes

Round 4 - behavioral assesment 

(2 Questions)

  • Q1. Just follow your instincts and go for it. The duration of it will be 30mins and the platform is SHL
  • Q2. Then offline interview at some place which they will decide. Basic intro and then questions on your projects OOPs concepts SQL basic queries

Interview Preparation Tips

Interview preparation tips for other job seekers - If you have knowledge regarding ML AI then avoid mentioning it in the resume because they won't need you. They look for basic coders

I applied via Campus Placement and was interviewed in Apr 2022. There were 4 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Aptitude Test 

It was great and easy. Basic Logical aptitude questions.

Round 3 - Coding Test 

Two problem statement are provided which you have to solve

Round 4 - Technical 

(2 Questions)

  • Q1. Programming questions were asked to me
  • Q2. Database questions were asked to me

Interview Preparation Tips

Interview preparation tips for other job seekers - Work on programming
Work on database
Work on communication
Interview experience
3
Average
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Not Selected

I applied via LinkedIn and was interviewed before Mar 2023. There were 2 interview rounds.

Round 1 - Coding Test 

Basic DSA questions on arrays

Round 2 - One-on-one 

(1 Question)

  • Q1. 2 questions on dynamic programming and trees

I appeared for an interview before May 2021.

Round 1 - Coding Test 

(1 Question)

Round duration - 90 minutes
Round difficulty - Medium

It was an online assessment with coding and aptitude questions.

  • Q1. 

    Contains Duplicate Problem Statement

    Given an array of integers ARR and an integer K, determine if there exist two distinct indices i and j such that ARR[i] == ARR[j] and | i - j | <= K.

    Input:

    The f...
  • Ans. 

    Given an array of integers and an integer K, determine if there exist two distinct indices i and j such that ARR[i] == ARR[j] and | i - j | <= K.

    • Iterate through the array and keep track of the indices of each element using a hashmap.

    • Check if the current element already exists in the hashmap within a distance of K.

    • Return 'Yes' if a pair of such indices exists, otherwise return 'No'.

  • Answered by AI
Round 2 - Assignment 

(1 Question)

Round duration - 15 minutes
Round difficulty - Easy

HSBC Value-Based Assessment

  • Q1. How would you handle a certain situation in your office?
Round 3 - Video Call 

(5 Questions)

Round duration - 30 minutes
Round difficulty - Easy

Technical Round on DS, DBMS, OS, Algorithms, Projects on Resume

  • Q1. Which data structures are used for implementing an LRU cache?
  • Ans. 

    The data structures used for implementing an LRU cache are doubly linked list and hash map.

    • Doubly linked list is used to maintain the order of recently used elements.

    • Hash map is used for fast lookups to check if an element is present in the cache or not.

    • When a new element is accessed, it is moved to the front of the linked list to indicate it as the most recently used.

  • Answered by AI
  • Q2. How is a stack different from a queue?
  • Ans. 

    A stack follows Last In First Out (LIFO) order while a queue follows First In First Out (FIFO) order.

    • Stack: elements are added and removed from the top (like a stack of plates)

    • Queue: elements are added at the rear and removed from the front (like a line of people)

    • Stack: push() and pop() operations

    • Queue: enqueue() and dequeue() operations

    • Example: Undo functionality in text editors (stack) vs. printer queue (queue)

  • Answered by AI
  • Q3. What do you understand by functional dependency and transitive dependency in DBMS?
  • Ans. 

    Functional dependency is a relationship between attributes in a database table, while transitive dependency occurs when an attribute is functionally dependent on another attribute.

    • Functional dependency: A determines B, where the value of A uniquely determines the value of B.

    • Transitive dependency: A determines B, and B determines C, therefore A indirectly determines C.

    • Example of functional dependency: Employee ID determ...

  • Answered by AI
  • Q4. What is normalization and what are the different types of normalization?
  • Ans. 

    Normalization is the process of organizing data in a database to reduce redundancy and improve data integrity.

    • Normalization is used to eliminate data redundancy and ensure data integrity.

    • There are different normal forms such as 1NF, 2NF, 3NF, BCNF, and 4NF.

    • Each normal form has specific rules to follow in order to achieve it.

    • For example, 1NF ensures that each column contains atomic values, 2NF eliminates partial depende...

  • Answered by AI
  • Q5. What is a bootstrap program in an operating system?
  • Ans. 

    A bootstrap program is a small program that initializes the operating system during the boot process.

    • Bootstrap program is the first code that runs when a computer is turned on.

    • It loads the operating system kernel into memory and starts its execution.

    • It performs hardware checks, sets up memory, and initializes system components.

    • Examples include GRUB for Linux and NTLDR for Windows.

  • Answered by AI
Round 4 - HR 

Round duration - 20 minutes
Round difficulty - Easy

This was a basic HR round with some standard behavioural questions

Interview Preparation Tips

Professional and academic backgroundI completed Computer Science Engineering from Banasthali University. I applied for the job as SDE - 1 in HyderabadEligibility criteria7 CGPAHSBC interview preparation:Topics to prepare for the interview - Data Structures, Algorithms, System Design, Dynamic Programming, OOPs, Graph Theory, Operating SystemTime required to prepare for the interview - 6 monthsInterview preparation tips for other job seekers

Tip 1 : Be sincere and regular
Tip 2 : Practice different types of questions and keep revising
Tip 3 : Make documentation of topics you study and new things/topics/approaches you learn

Application resume tips for other job seekers

Tip 1 : Have Projects on Resume
Tip 2 : Be honest in your resume
Tip 3 : Be smart with your resume

Final outcome of the interviewSelected

Skills evaluated in this interview

HSBC Group Interview FAQs

How many rounds are there in HSBC Group Software Developer interview?
HSBC Group interview process usually has 3 rounds. The most common rounds in the HSBC Group interview process are Coding Test, Aptitude Test and Technical.
What are the top questions asked in HSBC Group Software Developer interview?

Some of the top questions asked at the HSBC Group Software Developer interview -

  1. He simply asked me which coding language I prefer and why ? (Mine was C...read more
  2. What is DBMS and RDBMS and difference between th...read more
  3. What are the 4 pillars of OO...read more

Tell us how to improve this page.

Overall Interview Experience Rating

3.3/5

based on 9 interview experiences

Difficulty level

Moderate 100%

Duration

2-4 weeks 50%
4-6 weeks 25%
More than 8 weeks 25%
View more
HSBC Group Software Developer Salary
based on 202 salaries
₹9.6 L/yr - ₹25.6 L/yr
76% more than the average Software Developer Salary in India
View more details

HSBC Group Software Developer Reviews and Ratings

based on 27 reviews

4.4/5

Rating in categories

3.9

Skill development

4.2

Work-life balance

3.8

Salary

4.2

Job security

4.5

Company culture

3.7

Promotions

4.0

Work satisfaction

Explore 27 Reviews and Ratings
Assistant Manager
2.8k salaries
unlock blur

₹6 L/yr - ₹13.4 L/yr

Manager
2.2k salaries
unlock blur

₹13.9 L/yr - ₹24 L/yr

Senior Software Engineer
1.7k salaries
unlock blur

₹13.1 L/yr - ₹23.7 L/yr

Assistant Vice President
1.7k salaries
unlock blur

₹25 L/yr - ₹42.9 L/yr

Software Engineer
1.5k salaries
unlock blur

₹7.8 L/yr - ₹14 L/yr

Explore more salaries
Compare HSBC Group with

Wells Fargo

3.8
Compare

JPMorgan Chase & Co.

3.9
Compare

Cholamandalam Investment & Finance

3.9
Compare

Citicorp

3.7
Compare
write
Share an Interview