- Interview Questions
- /
- Sourcegraph
Sourcegraph LeetCode Interview Questions
Practice 49 real coding problems frequently asked in Sourcegraph technical interviews. Master these questions to ace your next Sourcegraph software engineering interview.
Top Topics at Sourcegraph
Ace your Sourcegraph interview with AI
Get real-time AI assistance during your actual interview. Invisible to screensharing.
Sourcegraph Interview Problems
| Problem | DifficultyDiff | Action |
|---|---|---|
Subsets 100% | MediumM | Solve→ |
Two Best Non-Overlapping Events 98% | MediumM | Solve→ |
Digit Operations to Make Two Integers Equal 96% | MediumM | Solve→ |
Longest Consecutive Sequence 91% | MediumM | Solve→ |
Find the Index of the First Occurrence in a String 89% | EasyE | Solve→ |
Decode String 88% | MediumM | Solve→ |
Reverse Words in a String 86% | MediumM | Solve→ |
Find K Pairs with Smallest Sums 84% | MediumM | Solve→ |
The kth Factor of n 83% | MediumM | Solve→ |
Merge Intervals 82% | MediumM | Solve→ |
Palindrome Number 80% | EasyE | Solve→ |
String Compression 80% | MediumM | Solve→ |
Palindrome Linked List 78% | EasyE | Solve→ |
Subarray Sum Equals K 77% | MediumM | Solve→ |
Maximum Nesting Depth of the Parentheses 76% | EasyE | Solve→ |
Remove All Adjacent Duplicates in String II 74% | MediumM | Solve→ |
Simplify Path 74% | MediumM | Solve→ |
Asteroid Collision 71% | MediumM | Solve→ |
Regular Expression Matching 69% | HardH | Solve→ |
Interval List Intersections 66% | MediumM | Solve→ |
Product of Array Except Self 58% | MediumM | Solve→ |
Check If N and Its Double Exist 57% | EasyE | Solve→ |
Binary Tree Right Side View 55% | MediumM | Solve→ |
Custom Sort String 54% | MediumM | Solve→ |
Maximum Number of Occurrences of a Substring 51% | MediumM | Solve→ |
Pass your interview with AI assistance
Get real-time solutions during your actual coding interview. Invisible to screensharing.
Largest Rectangle in Histogram 51% | HardH | Solve→ |
Binary Tree Vertical Order Traversal 48% | MediumM | Solve→ |
Maximum Area Rectangle With Point Constraints I 47% | MediumM | Solve→ |
Zero Array Transformation II 45% | MediumM | Solve→ |
Longest Increasing Path in a Matrix 44% | HardH | Solve→ |
Single Number 42% | EasyE | Solve→ |
Counting Bits 40% | EasyE | Solve→ |
Coin Change II 38% | MediumM | Solve→ |
Find First and Last Position of Element in Sorted Array 34% | MediumM | Solve→ |
Sort Colors 34% | MediumM | Solve→ |
Valid Palindrome 34% | EasyE | Solve→ |
Pow(x, n) 33% | MediumM | Solve→ |
Daily Temperatures 33% | MediumM | Solve→ |
Trips and Users 32% | HardH | Solve→ |
Integer to English Words 32% | HardH | Solve→ |
Roman to Integer 31% | EasyE | Solve→ |
Check Completeness of a Binary Tree 29% | MediumM | Solve→ |
Design Tic-Tac-Toe 29% | MediumM | Solve→ |
Make String a Subsequence Using Cyclic Increments 26% | MediumM | Solve→ |
Word Pattern II 25% | MediumM | Solve→ |
Valid Word Abbreviation 24% | EasyE | Solve→ |
Remove Element 23% | EasyE | Solve→ |
Making A Large Island 21% | HardH | Solve→ |
Maximum Value at a Given Index in a Bounded Array 21% | MediumM | Solve→ |
Similar Companies
Explore interview questions from other companies with similar interview patterns.
Frequently Asked Questions
What LeetCode problems does Sourcegraph ask in interviews?
Sourcegraph commonly asks 49 coding problems in technical interviews, including Subsets, Two Best Non-Overlapping Events, Digit Operations to Make Two Integers Equal. The difficulty breakdown is 11 Easy, 32 Medium, and 6 Hard problems.
How should I prepare for a Sourcegraph coding interview?
Focus on the most frequently asked problems first, especially those with high frequency scores. Sourcegraph interviews typically emphasize Array and String. Practice explaining your thought process while coding.
What is the difficulty level of Sourcegraph coding interviews?
Based on our data, Sourcegraph interviews include 11 Easy (22%), 32 Medium (65%), and 6 Hard (12%) problems.
Ready to ace your Sourcegraph interview?
Join thousands of engineers who landed offers at top tech companies.
Get Started FreeNo credit card required