- Interview Questions
- /
- GitHub
GitHub LeetCode Interview Questions
Practice 28 real coding problems frequently asked in GitHub technical interviews. Master these questions to ace your next GitHub software engineering interview.
Top Topics at GitHub
Ace your GitHub interview with AI
Get real-time AI assistance during your actual interview. Invisible to screensharing.
GitHub Interview Problems
| Problem | DifficultyDiff | Action |
|---|---|---|
Reverse Nodes in k-Group 100% | HardH | Solve→ |
Longest Arithmetic Subsequence of Given Difference 79% | MediumM | Solve→ |
Number of Ships in a Rectangle 77% | HardH | Solve→ |
Find Longest Self-Contained Substring 72% | HardH | Solve→ |
LRU Cache 68% | MediumM | Solve→ |
Minimum Time to Visit a Cell In a Grid 68% | HardH | Solve→ |
Design an Array Statistics Tracker 65% | HardH | Solve→ |
Remove All Adjacent Duplicates in String II 63% | MediumM | Solve→ |
Create Hello World Function 62% | EasyE | Solve→ |
Container With Most Water 57% | MediumM | Solve→ |
Merge Two Sorted Lists 51% | EasyE | Solve→ |
Remove Duplicates from Sorted Array II 49% | MediumM | Solve→ |
Valid Palindrome III 47% | HardH | Solve→ |
Combination Sum 46% | MediumM | Solve→ |
Maximum Beauty of an Array After Applying Operation 46% | MediumM | Solve→ |
Two Best Non-Overlapping Events 44% | MediumM | Solve→ |
Custom Sort String 44% | MediumM | Solve→ |
Kth Smallest Element in a BST 36% | MediumM | Solve→ |
Random Pick with Weight 33% | MediumM | Solve→ |
Buildings With an Ocean View 29% | MediumM | Solve→ |
Palindromic Substrings 28% | MediumM | Solve→ |
Subarray Sum Equals K 26% | MediumM | Solve→ |
Valid Sudoku 25% | MediumM | Solve→ |
Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit 25% | MediumM | Solve→ |
All Nodes Distance K in Binary Tree 24% | MediumM | Solve→ |
Pass your interview with AI assistance
Get real-time solutions during your actual coding interview. Invisible to screensharing.
Similar Companies
Explore interview questions from other companies with similar interview patterns.
Frequently Asked Questions
What LeetCode problems does GitHub ask in interviews?
GitHub commonly asks 28 coding problems in technical interviews, including Reverse Nodes in k-Group, Longest Arithmetic Subsequence of Given Difference, Number of Ships in a Rectangle. The difficulty breakdown is 2 Easy, 19 Medium, and 7 Hard problems.
How should I prepare for a GitHub coding interview?
Focus on the most frequently asked problems first, especially those with high frequency scores. GitHub interviews typically emphasize Array and Hash Table. Practice explaining your thought process while coding.
What is the difficulty level of GitHub coding interviews?
Based on our data, GitHub interviews include 2 Easy (7%), 19 Medium (68%), and 7 Hard (25%) problems.
Ready to ace your GitHub interview?
Join thousands of engineers who landed offers at top tech companies.
Get Started FreeNo credit card required