Skip to content

Interview Solver

FeaturesPricingHelp
Sign In
FeaturesPricingHelpSign In
  1. Interview Questions
  2. /
  3. Booz Allen Hamilton

Booz Allen Hamilton LeetCode Interview Questions

Practice 35 real coding problems frequently asked in Booz Allen Hamilton technical interviews. Master these questions to ace your next Booz Allen Hamilton software engineering interview.

11 Easy
22 Medium
2 Hard

Top Topics at Booz Allen Hamilton

ArrayStringHash TableTwo PointersDynamic Programming

Ace your Booz Allen Hamilton interview with AI

Get real-time AI assistance during your actual interview. Invisible to screensharing.

Start Free Trial

Booz Allen Hamilton Interview Problems

ProblemDifficultyDiffFrequencyTopicsAction
Add Two Numbers
100%
MediumM
100%
Linked ListMath+1
Solve→
Analyze User Website Visit Pattern
87%
MediumM
87%
ArrayHash Table+1
Solve→
Number of Ships in a Rectangle
81%
HardH
81%
ArrayDivide and Conquer+1
Solve→
Palindrome Number
80%
EasyE
80%
Math
Solve→
Minimum Array Sum
79%
MediumM
79%
ArrayDynamic Programming
Solve→
Check If a Word Occurs As a Prefix of Any Word in a Sentence
76%
EasyE
76%
Two PointersString+1
Solve→
Longest Arithmetic Subsequence of Given Difference
74%
MediumM
74%
ArrayHash Table+1
Solve→
Group Shifted Strings
73%
MediumM
73%
ArrayHash Table+1
Solve→
Valid Word Abbreviation
71%
EasyE
71%
Two PointersString
Solve→
Best Time to Buy and Sell Stock
70%
EasyE
70%
ArrayDynamic Programming
Solve→
Same Tree
68%
EasyE
68%
TreeDepth-First Search+2
Solve→
Find the Celebrity
63%
MediumM
63%
Two PointersGraph+1
Solve→
Linked List Cycle
61%
EasyE
61%
Hash TableLinked List+1
Solve→
Minimum Limit of Balls in a Bag
60%
MediumM
60%
ArrayBinary Search
Solve→
Diagonal Traverse
56%
MediumM
56%
ArrayMatrix+1
Solve→
Can Place Flowers
52%
EasyE
52%
ArrayGreedy
Solve→
Pascal's Triangle
52%
EasyE
52%
ArrayDynamic Programming
Solve→
Find the Index of the First Occurrence in a String
50%
EasyE
50%
Two PointersString+1
Solve→
Dot Product of Two Sparse Vectors
45%
MediumM
45%
ArrayHash Table+2
Solve→
Open the Lock
44%
MediumM
44%
ArrayHash Table+2
Solve→
Maximum Beauty of an Array After Applying Operation
40%
MediumM
40%
ArrayBinary Search+2
Solve→
Two City Scheduling
39%
MediumM
39%
ArrayGreedy+1
Solve→
K Closest Points to Origin
38%
MediumM
38%
ArrayMath+5
Solve→
Maximum Size Subarray Sum Equals k
33%
MediumM
33%
ArrayHash Table+1
Solve→
Best Time to Buy and Sell Stock II
32%
MediumM
32%
ArrayDynamic Programming+1
Solve→

Pass your interview with AI assistance

Get real-time solutions during your actual coding interview. Invisible to screensharing.

Start Free Trial
Subsets
32%
MediumM
32%
ArrayBacktracking+1
Solve→
Remove Letter To Equalize Frequency
31%
EasyE
31%
Hash TableString+1
Solve→
Expression Add Operators
29%
HardH
29%
MathString+1
Solve→
Gas Station
27%
MediumM
27%
ArrayGreedy
Solve→
Merge Sorted Array
27%
EasyE
27%
ArrayTwo Pointers+1
Solve→
Zero Array Transformation III
24%
MediumM
24%
ArrayGreedy+3
Solve→
Longest Palindromic Substring
23%
MediumM
23%
Two PointersString+1
Solve→
Longest Subarray of 1's After Deleting One Element
23%
MediumM
23%
ArrayDynamic Programming+1
Solve→
Word Search
23%
MediumM
23%
ArrayString+2
Solve→
Convert Binary Search Tree to Sorted Doubly Linked List
22%
MediumM
22%
Linked ListStack+5
Solve→

Similar Companies

Explore interview questions from other companies with similar interview patterns.

2u
35 problems
Akuna Capital
35 problems
Bairesdev
35 problems
Calix
35 problems
Circle
35 problems
Crowdstrike
35 problems

Frequently Asked Questions

What LeetCode problems does Booz Allen Hamilton ask in interviews?

Booz Allen Hamilton commonly asks 35 coding problems in technical interviews, including Add Two Numbers, Analyze User Website Visit Pattern, Number of Ships in a Rectangle. The difficulty breakdown is 11 Easy, 22 Medium, and 2 Hard problems.

How should I prepare for a Booz Allen Hamilton coding interview?

Focus on the most frequently asked problems first, especially those with high frequency scores. Booz Allen Hamilton interviews typically emphasize Array and String. Practice explaining your thought process while coding.

What is the difficulty level of Booz Allen Hamilton coding interviews?

Based on our data, Booz Allen Hamilton interviews include 11 Easy (31%), 22 Medium (63%), and 2 Hard (6%) problems.

Ready to ace your Booz Allen Hamilton interview?

Join thousands of engineers who landed offers at top tech companies.

Get Started Free

No credit card required

All CompaniesEasy ProblemsMedium ProblemsHard ProblemsBrowse by Topic
Interview Solver
  • Home
  • Pricing
  • Sign in
  • Contact
  • Blog
  • Companion
  • Help Center
  • Use Cases
  • Software Engineer
  • Product Manager
  • Misc
  • Privacy Policy
  • Terms and Conditions
  • Discord Community
  • Affiliate Program
  • Compare
  • All Comparisons
  • vs Final Round AI
  • vs UltraCode
  • vs Interview Coder
  • vs LockedIn AI
  • vs AI Apply
  • Free Tools
  • ATS Resume Checker
  • STAR Method Builder
  • Salary Lookup
  • Big O Cheat Sheet
  • Total Comp Calculator
  • View All →
  • Interview Questions
  • Google Questions
  • Amazon Questions
  • Microsoft Questions
  • Meta Questions
  • Apple Questions
  • TikTok Questions
  • View All →
© 2026 Interview Solver, Inc. All rights reserved.