HSBC interview experience Real time questions & tips from candidates to crack your interview

Software Engineer

HSBC
upvote
share-icon
3 rounds | 7 Coding problems

Interview preparation journey

expand-icon
Journey
I came to know about this job from their official site. I applied to this job and got selected for the exam, then I took the exam and also got selected for the interview.
Application story
I applied for this profile on the company website, where I got the test link after applying for the job.
Why selected/rejected for the role?
I was not able to answer the optimal approach for a problem that's why I think I was rejected in the interview.
Preparation
Duration: 6 months
Topics: Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic Programming
Tip
Tip

Tip 1 : Implement data structures using different programming languages.
Tip 2 : This will help you understand language-specific nuances and improve your programming skills.

Application process
Where: Company Website
Eligibility: Above 6 CGPA
Resume Tip
Resume tip

Tip 1: Consider including a separate section for technical skills or relevant certifications. This allows you to highlight specific technical proficiencies or specialized training that make you a stronger candidate for certain positions.

Tip 2: Use action verbs in the present tense for your current job and in the past tense for previous roles. This provides consistency and clarity in your resume and helps hiring managers understand the timeline of your experiences.

Interview rounds

01
Round
Easy
Video Call
Duration90 minutes
Interview date21 May 2023
Coding problem2

1. Ways To Make Coin Change

Moderate
20m average time
80% success
0/80
Asked in companies
AmazonCIS - Cyber InfrastructureLinkedIn

You are given an infinite supply of coins of each of denominations D = {D0, D1, D2, D3, ...... Dn-1}. You need to figure out the total number of ways W, in which you can make a change for value V using coins of denominations from D. Print 0, if a change isn't possible.

Try solving now
Easy
30m average time
80% success
0/40
Asked in companies
OYOThought WorksAdobe

You are given an input string 'S'. Your task is to find and return all possible permutations of the input string.

Note:
1. The input string may contain the same characters, so there will also be the same permutations.

2. The order of permutation does not matter.
Try solving now
02
Round
Medium
Video Call
Duration90 minutes
Interview date21 May 2023
Coding problem3

1. Network Questions

How to check if a port is opened on a server? (Learn)
How do we reduce network traffic? (Learn)

2. Merge Sort Linked List

Moderate
10m average time
90% success
0/80
Asked in companies
MeeshoIBMThought Works

You are given a Singly Linked List of integers. Sort the Linked List using merge sort.

Merge Sort is a Divide and Conquer algorithm. It divides the input into two halves, calls itself for the two halves, and then merges the two sorted halves. The merge() function is used for merging two halves. The merge(arr, L, M, R) is a key process that assumes that arr[L..M] and arr[M + 1...R] are sorted and merges the two sorted subarrays into one.

Try solving now

3. Merge Two Binary Trees

Easy
15m average time
85% success
0/40
Asked in companies
Thought WorksAppleGrab

You are given roots of two binary trees, ‘ROOT1’ and ‘ROOT2’. You need to merge the two trees into a new binary tree. The merge rule is that if the two nodes overlap, then the sum of the two nodes values up as the new value of the merged node. Otherwise, the NOT null node will be used as the node of the new tree. Your task is to return the merged tree i.e. head of the new tree.

Note:

The merging process must start from the root nodes of both trees.

For example,

‘ROOT1’ = [1, 2, -1, -1, 3, -1, -1]  ‘ROOT2’ = [3, -1, -1].
The final tree would look like : [3, 2, -1, -1, 3, -1, -1], and the output will be printed in a pre-order way: 4 2 3.

Try solving now
03
Round
Easy
Video Call
Duration90 minutes
Interview date21 May 2023
Coding problem2

The interviewers also focused on our knowledge of OOP principles in C++. We were asked to discuss concepts such as encapsulation, inheritance, polymorphism, and abstraction. We were evaluated on our ability to design and implement classes, use appropriate access specifiers, and demonstrate a solid understanding of object-oriented design.

1. Cycle Detection in a Singly Linked List

Moderate
15m average time
80% success
0/80
Asked in companies
GrabThalesSterlite Technologies Limited

You are given a Singly Linked List of integers. Return true if it has a cycle, else return false.


A cycle occurs when a node's next points back to a previous node in the list.


Example:
In the given linked list, there is a cycle, hence we return true.

Sample Example 1

Try solving now

2. Theory Questions

Explain the 4 pillars of OOPS. (Learn)

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
company logo
Software Engineer
3 rounds | 4 problems
Interviewed by HSBC
0 views
0 comments
0 upvotes
company logo
Software Engineer
3 rounds | 5 problems
Interviewed by HSBC
2034 views
0 comments
0 upvotes
company logo
Software Engineer
3 rounds | 6 problems
Interviewed by HSBC
1556 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 4 problems
Interviewed by HSBC
784 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Software Engineer
4 rounds | 1 problems
Interviewed by Newgen Software
3210 views
2 comments
0 upvotes
company logo
Software Engineer
3 rounds | 6 problems
Interviewed by HashedIn
2582 views
0 comments
0 upvotes
company logo
Software Engineer
2 rounds | 2 problems
Interviewed by Ernst & Young (EY)
0 views
0 comments
0 upvotes