HSBC coding interview questions
Ranked by how often candidates report them. Each opens in the editor with hidden tests, an animated walkthrough and solutions in four languages; a question you solve once counts for every company that asks it.
| Progress | Title | Difficulty | Next step |
|---|---|---|---|
| Longest Palindromic SubstringStrings | Medium | Solve | |
| Best Time to Buy and Sell StockState Machine DP - Stock Problems | Easy | Solve | |
| Container With Most WaterTwo Pointer | Medium | Solve | |
| Climbing Stairs1D DP | Easy | Solve | |
| Longest Common PrefixString Basics | Easy | Solve | |
| Two SumTwo Sum | Easy | Solve | |
| Valid PalindromeTwo Pointer | Easy | Solve | |
| Reverse Linked ListFront Middle Back Pointer | Easy | Solve | |
| Merge Two Sorted ListsDummy Node Pattern | Easy | Solve | |
| Missing NumberMissing / Repeated Numbers | Easy | Solve | |
| Sort an ArrayMerge Sort Like Approach | Medium | Solve | |
| Second Largest Element in an ArraySorting | Easy | Solve |
No questions match these filters.
Also reported, being added to AlgoRung (4)
Maximum 69 Number · Battleships in a Board · Minimum String Length After Removing Substrings · Find Polygon With the Largest Perimeter
Questions people ask
What coding questions does HSBC ask most?
Longest Palindromic Substring, Best Time to Buy and Sell Stock, Container With Most Water, Climbing Stairs, Longest Common Prefix, Two Sum, Valid Palindrome, Reverse Linked List.
Which topics come up in HSBC coding rounds?
arrays, strings, linked list, dynamic programming, two pointers, sorting.
How hard are HSBC coding questions?
Of the reported questions, 9 are easy, 3 medium and 0 hard. A 45 to 60 minute live interview where you solve one or two data-structures-and-algorithms problems while explaining your thinking. Interviewers score problem solving, code quality, testing and communication.