Sorting, Pairs and Intervals
Barclays OAs have included all three, each a familiar problem under a business story. One is a pair search, one merges neighbouring entries, and one is about intervals.
None of them needs more than a sort and one linear pass. The marks depend on the rules in the wording, such as how a tie breaks, whether the output is a list or a count, and whether a stretch covered twice counts twice.
BarclaysPremium lesson · Coding round
The 3 Barclays problems are below.
- A Premium questionCoding · Medium · Frequently asked
- A Premium questionCoding · Medium
- A Premium questionCoding · Medium
Each with hints, the follow-up and a tested solution.
Get the Barclays questions$49 a year · all 100 companies · cancel anytime
From 108 Barclays reports, forum threads behind logins and write-ups in Chinese.
Barclays interview guideKnow what Barclays asks before you walk in.
30 coding · 1 system design · 28 behavioral questions
Get their questions first.
InterviewLegend is independent and not affiliated with or endorsed by any company it covers.