- Interview Questions
- /
- 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.
Top Topics at SpaceX
Ace your SpaceX interview with AI
Get real-time AI assistance during your actual interview. Invisible to screensharing.
SpaceX Interview Problems
| Problem | DifficultyDiff | Action |
|---|---|---|
Add Strings 100% | EasyE | Solve→ |
Fraction to Recurring Decimal 94% | MediumM | Solve→ |
Find the Index of the First Occurrence in a String 88% | EasyE | Solve→ |
Dot Product of Two Sparse Vectors 84% | MediumM | Solve→ |
LRU Cache 83% | MediumM | Solve→ |
Kth Missing Positive Number 81% | EasyE | Solve→ |
Check Completeness of a Binary Tree 77% | MediumM | Solve→ |
Coin Change 77% | MediumM | Solve→ |
Design an Ordered Stream 74% | EasyE | Solve→ |
Find Peak Element 72% | MediumM | Solve→ |
LFU Cache 72% | HardH | Solve→ |
Minimum Absolute Difference 71% | EasyE | Solve→ |
Search Insert Position 67% | EasyE | Solve→ |
Rotting Oranges 64% | MediumM | Solve→ |
Maximum Value at a Given Index in a Bounded Array 64% | MediumM | Solve→ |
Valid Palindrome II 63% | EasyE | Solve→ |
Minimum Add to Make Parentheses Valid 61% | MediumM | Solve→ |
Minimum Time to Visit a Cell In a Grid 61% | HardH | Solve→ |
Final Array State After K Multiplication Operations I 59% | EasyE | Solve→ |
Remove All Occurrences of a Substring 59% | MediumM | Solve→ |
Longest Common Prefix 58% | EasyE | Solve→ |
Subarrays with K Different Integers 57% | HardH | Solve→ |
Convert Sorted List to Binary Search Tree 54% | MediumM | Solve→ |
Regular Expression Matching 50% | HardH | Solve→ |
Maximum Depth of Binary Tree 44% | EasyE | Solve→ |
Pass your interview with AI assistance
Get real-time solutions during your actual coding interview. Invisible to screensharing.
Counting Bits 42% | EasyE | Solve→ |
Merge Two Sorted Lists 40% | EasyE | Solve→ |
Split Array Largest Sum 39% | HardH | Solve→ |
Flood Fill 37% | EasyE | Solve→ |
Find K Pairs with Smallest Sums 31% | MediumM | Solve→ |
Product of Array Except Self 30% | MediumM | Solve→ |
Find Leaves of Binary Tree 25% | MediumM | Solve→ |
House Robber II 23% | MediumM | Solve→ |
Minimum Operations to Make Character Frequencies Equal 20% | HardH | Solve→ |
Similar Companies
Explore interview questions from other companies with similar interview patterns.
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 FreeNo credit card required