0 day streak

Barclays coding interview questions

Banking Global

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.

0%ready
ProgressTitleDifficultyTopicHow often hereAlso asked atNext step
Two SumTwo Sum Easy Arrays & Hashing Google, Amazon, Microsoft +46 Solve
Merge IntervalsBasics Medium Intervals Google, Amazon, Microsoft +45 Solve
Valid ParenthesesStack Basics Easy Stack Google, Microsoft, Meta +39 Solve
Partition LabelsBasics Medium Intervals InMobi Solve
Number of IslandsConnected Components Medium Graphs Google, Amazon, Microsoft +41 Solve
Longest Common PrefixString Basics Easy Arrays & Hashing Bloomberg, Adobe, Visa +12 Solve
Next Greater Element IMonotonic Stack Easy Monotonic Stack Oracle, Adobe, Morgan Stanley +8 Solve
Reverse Words in a StringDouble Reversal Trick Medium Arrays & Hashing Microsoft, Nvidia, Deutsche Bank +8 Solve
Insert IntervalBasics Medium Intervals Apple, LinkedIn, Atlassian Solve
Decode Ways1D DP Medium Dynamic Programming Google, Meta, Goldman Sachs +3 Solve
First Unique Character in a StringHashing Easy Arrays & Hashing Databricks, Nutanix, Goldman Sachs +8 Solve
Rotate ArrayDouble Reversal Trick Medium Arrays & Hashing Apple, Bloomberg, Samsung +8 Solve
Minimum Number of Days to Make m BouquetsBinary Search on Answer Space Medium Binary Search Flipkart, PhonePe, Dream11 Solve
Minimum Number of Arrows to Burst BalloonsBasics Medium Intervals PhonePe Solve
Distinct SubsequencesStrings Hard Dynamic Programming Google, JPMorgan Chase, Swiggy +1 Solve
Fibonacci Number1D DP Easy Dynamic Programming Spotify, Intel, Deloitte +7 Solve
Integer to English WordsSimulation Hard Arrays & Hashing Meta, Palantir, Tesla +1 Solve
Reverse IntegerMath / Number Theory Medium Arrays & Hashing Bloomberg, TCS, Wipro +4 Solve
Merge Sorted ArrayTwo Pointer Easy Arrays & Hashing Meta, Apple, Nvidia +12 Solve
Course ScheduleTopological Sort Medium Graphs Google, Amazon, Microsoft +14 Solve
Also reported, being added to AlgoRung (9)

Lexicographically Smallest Generated String · Double Modular Exponentiation · Furthest Point From Origin · Count Submatrices with Top-Left Element and Sum Less Than k · Mark Elements on Array by Performing Queries · Remove Boxes · Design an ATM Machine · Maximum Employees to Be Invited to a Meeting · Lexicographical Numbers

Questions people ask

What coding questions does Barclays ask most?

Two Sum, Merge Intervals, Valid Parentheses, Partition Labels, Number of Islands, Longest Common Prefix, Next Greater Element I, Reverse Words in a String.

Which topics come up in Barclays coding rounds?

arrays, strings, intervals, greedy, dynamic programming, graphs.

How hard are Barclays coding questions?

Of the reported questions, 7 are easy, 11 medium and 2 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.