Skip to main content
Back to Companies
Barclays logo

Barclays Interview Questions (16)

Practice real interview problems from Barclays

#1

Two Sum

Easy✓ Solution📹 Video
Accenture+126
#14

Longest Common Prefix

Easy✓ Solution📹 Video
Accenture+59
#20

Valid Parentheses

Easy✓ Solution📹 Video
Accenture+112
#176

Second Highest Salary

Medium✓ Solution📹 Video
Accenture+18
#386

Lexicographical Numbers

Medium✓ Solution📹 Video
Amazon+5
#496

Next Greater Element I

Easy✓ Solution📹 Video
Accenture+16
#546

Remove Boxes

Hard✓ Solution📹 Video
Amazon+11
#763

Partition Labels

Medium✓ Solution📹 Video
Amazon+8
#2961

Double Modular Exponentiation

Medium✓ Solution📹 Video
Barclays

About Barclays Coding Interviews

Barclays is one of the largest global financial institutions, and its engineering teams build systems that process millions of financial transactions securely and reliably. Because of this, the Barclays coding interview focuses heavily on writing clean, efficient algorithms and demonstrating strong problem‑solving fundamentals.

Most candidates for software engineering roles at Barclays go through multiple stages including an online coding assessment, a technical phone interview, and one or two onsite (or virtual onsite) rounds. These interviews typically evaluate your ability to solve data structure and algorithm problems, explain your approach clearly, and write production-quality code.

In real Barclays interviews, candidates commonly encounter problems involving:

  • Arrays and Hashing for transaction-style data processing
  • Strings and parsing problems that mimic financial data manipulation
  • Trees and Graph traversal for dependency and hierarchy modeling
  • Sliding Window and Two Pointers for efficient data scanning
  • Dynamic Programming for optimization scenarios

The difficulty distribution typically skews toward easy-to-medium problems, with occasional medium-to-hard questions for experienced candidates. Interviewers also care about how you communicate your reasoning and how you test edge cases, since financial systems require high reliability.

FleetCode helps you prepare efficiently by collecting 14 real Barclays coding interview questions asked in previous interviews. The problems are organized by difficulty and include solutions in Python, Java, and C++. By practicing these curated questions, you can quickly identify the patterns Barclays interviewers prefer and build the confidence needed to perform well in the actual interview.

Interview Tips for Barclays

Preparing for a Barclays coding interview requires a mix of algorithm practice, clear communication, and familiarity with how financial technology teams approach problem solving. While the process is similar to other large tech-driven companies, Barclays interviews often emphasize practical coding ability and reliability of solutions.

Typical Barclays interview process:

  • Online Assessment (60–90 minutes): Usually 2–3 coding questions focused on arrays, strings, hashing, or basic algorithms.
  • Technical Phone/Video Interview: One or two coding problems solved live with an interviewer. You may also discuss complexity and edge cases.
  • Final or Onsite Rounds: Multiple interviews covering deeper coding problems, debugging, and sometimes system design for experienced roles.

Most common DSA topics asked at Barclays:

  • Arrays and hash maps
  • String manipulation and pattern matching
  • Binary trees and recursion
  • Sorting and searching techniques
  • Sliding window and two pointers
  • Basic dynamic programming

Compared with companies like Google or Meta, Barclays questions tend to focus less on extremely complex algorithms and more on writing correct, readable, and efficient code. Interviewers often ask follow-up questions such as improving time complexity or handling large input sizes.

Common mistakes candidates make:

  • Jumping into coding without explaining the approach
  • Ignoring edge cases such as empty inputs or duplicates
  • Not analyzing time and space complexity
  • Writing code that is difficult to read or debug

Recommended preparation plan:

  • Spend 3–4 weeks practicing common DSA patterns.
  • Solve around 40–60 focused problems covering arrays, trees, graphs, and dynamic programming.
  • Practice explaining your approach out loud as if you were in an interview.
  • Review real interview questions from Barclays to recognize recurring patterns.

If you consistently practice curated questions and focus on clarity in your solutions, you can significantly increase your chances of performing well in the Barclays coding interview.