Skip to content

Interview Solver

FeaturesPricingHelp
Sign In
FeaturesPricingHelpSign In
  1. Interview Questions
  2. /
  3. SpaceX

SpaceX LeetCode Interview Questions

Practice 34 real coding problems frequently asked in SpaceX technical interviews. Master these questions to ace your next SpaceX software engineering interview.

13 Easy
15 Medium
6 Hard

Top Topics at SpaceX

ArrayStringHash TableBreadth-First SearchDynamic Programming

Ace your SpaceX interview with AI

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

Start Free Trial

SpaceX Interview Problems

ProblemDifficultyDiffFrequencyTopicsAction
Add Strings
100%
EasyE
100%
MathString+1
Solve→
Fraction to Recurring Decimal
94%
MediumM
94%
Hash TableMath+1
Solve→
Find the Index of the First Occurrence in a String
88%
EasyE
88%
Two PointersString+1
Solve→
Dot Product of Two Sparse Vectors
84%
MediumM
84%
ArrayHash Table+2
Solve→
LRU Cache
83%
MediumM
83%
Hash TableLinked List+2
Solve→
Kth Missing Positive Number
81%
EasyE
81%
ArrayBinary Search
Solve→
Check Completeness of a Binary Tree
77%
MediumM
77%
TreeBreadth-First Search+1
Solve→
Coin Change
77%
MediumM
77%
ArrayDynamic Programming+1
Solve→
Design an Ordered Stream
74%
EasyE
74%
ArrayHash Table+2
Solve→
Find Peak Element
72%
MediumM
72%
ArrayBinary Search
Solve→
LFU Cache
72%
HardH
72%
Hash TableLinked List+2
Solve→
Minimum Absolute Difference
71%
EasyE
71%
ArraySorting
Solve→
Search Insert Position
67%
EasyE
67%
ArrayBinary Search
Solve→
Rotting Oranges
64%
MediumM
64%
ArrayBreadth-First Search+1
Solve→
Maximum Value at a Given Index in a Bounded Array
64%
MediumM
64%
Binary SearchGreedy
Solve→
Valid Palindrome II
63%
EasyE
63%
Two PointersString+1
Solve→
Minimum Add to Make Parentheses Valid
61%
MediumM
61%
StringStack+1
Solve→
Minimum Time to Visit a Cell In a Grid
61%
HardH
61%
ArrayBreadth-First Search+4
Solve→
Final Array State After K Multiplication Operations I
59%
EasyE
59%
ArrayMath+2
Solve→
Remove All Occurrences of a Substring
59%
MediumM
59%
StringStack+1
Solve→
Longest Common Prefix
58%
EasyE
58%
StringTrie
Solve→
Subarrays with K Different Integers
57%
HardH
57%
ArrayHash Table+2
Solve→
Convert Sorted List to Binary Search Tree
54%
MediumM
54%
Linked ListDivide and Conquer+3
Solve→
Regular Expression Matching
50%
HardH
50%
StringDynamic Programming+1
Solve→
Maximum Depth of Binary Tree
44%
EasyE
44%
TreeDepth-First Search+2
Solve→

Pass your interview with AI assistance

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

Start Free Trial
Counting Bits
42%
EasyE
42%
Dynamic ProgrammingBit Manipulation
Solve→
Merge Two Sorted Lists
40%
EasyE
40%
Linked ListRecursion
Solve→
Split Array Largest Sum
39%
HardH
39%
ArrayBinary Search+3
Solve→
Flood Fill
37%
EasyE
37%
ArrayDepth-First Search+2
Solve→
Find K Pairs with Smallest Sums
31%
MediumM
31%
ArrayHeap (Priority Queue)
Solve→
Product of Array Except Self
30%
MediumM
30%
ArrayPrefix Sum
Solve→
Find Leaves of Binary Tree
25%
MediumM
25%
TreeDepth-First Search+1
Solve→
House Robber II
23%
MediumM
23%
ArrayDynamic Programming
Solve→
Minimum Operations to Make Character Frequencies Equal
20%
HardH
20%
Hash TableString+3
Solve→

Similar Companies

Explore interview questions from other companies with similar interview patterns.

Bd
34 problems
Brillio
34 problems
Cerner
34 problems
Charles Schwab
34 problems
Citiustech
34 problems
Citrix
34 problems

Frequently Asked Questions

What LeetCode problems does SpaceX ask in interviews?

SpaceX commonly asks 34 coding problems in technical interviews, including Add Strings, Fraction to Recurring Decimal, Find the Index of the First Occurrence in a String. The difficulty breakdown is 13 Easy, 15 Medium, and 6 Hard problems.

How should I prepare for a SpaceX coding interview?

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

What is the difficulty level of SpaceX coding interviews?

Based on our data, SpaceX interviews include 13 Easy (38%), 15 Medium (44%), and 6 Hard (18%) problems.

Ready to ace your SpaceX 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.