- Interview Questions
- /
- Red Hat
Red Hat LeetCode Interview Questions
Practice 50 real coding problems frequently asked in Red Hat technical interviews. Master these questions to ace your next Red Hat software engineering interview.
Top Topics at Red Hat
Ace your Red Hat interview with AI
Get real-time AI assistance during your actual interview. Invisible to screensharing.
Red Hat Interview Problems
| Problem | DifficultyDiff | Action |
|---|---|---|
Lowest Common Ancestor of a Binary Tree 100% | MediumM | Solve→ |
Make String a Subsequence Using Cyclic Increments 98% | MediumM | Solve→ |
4Sum 97% | MediumM | Solve→ |
Maximum Number of Occurrences of a Substring 96% | MediumM | Solve→ |
Subsets II 93% | MediumM | Solve→ |
The Earliest Moment When Everyone Become Friends 92% | MediumM | Solve→ |
Design Tic-Tac-Toe 92% | MediumM | Solve→ |
Median of Two Sorted Arrays 86% | HardH | Solve→ |
Integer to Roman 81% | MediumM | Solve→ |
Design an Array Statistics Tracker 81% | HardH | Solve→ |
Is Subsequence 79% | EasyE | Solve→ |
Majority Element 78% | EasyE | Solve→ |
Rotate Image 77% | MediumM | Solve→ |
House Robber 76% | MediumM | Solve→ |
K Closest Points to Origin 75% | MediumM | Solve→ |
Number of Islands 75% | MediumM | Solve→ |
Letter Combinations of a Phone Number 74% | MediumM | Solve→ |
Generate Parentheses 73% | MediumM | Solve→ |
Sort Colors 70% | MediumM | Solve→ |
Min Stack 68% | MediumM | Solve→ |
Binary Tree Maximum Path Sum 68% | HardH | Solve→ |
Subsets 65% | MediumM | Solve→ |
Pow(x, n) 64% | MediumM | Solve→ |
Product of Array Except Self 64% | MediumM | Solve→ |
Final Array State After K Multiplication Operations I 64% | EasyE | Solve→ |
Pass your interview with AI assistance
Get real-time solutions during your actual coding interview. Invisible to screensharing.
Shortest Word Distance II 64% | MediumM | Solve→ |
Frequency of the Most Frequent Element 63% | MediumM | Solve→ |
Valid Parentheses 62% | EasyE | Solve→ |
Maximum Sum of Distinct Subarrays With Length K 59% | MediumM | Solve→ |
Subarrays with K Different Integers 59% | HardH | Solve→ |
Permutation in String 58% | MediumM | Solve→ |
Minimum Limit of Balls in a Bag 54% | MediumM | Solve→ |
Meeting Rooms II 53% | MediumM | Solve→ |
Zigzag Conversion 52% | MediumM | Solve→ |
Word Break 51% | MediumM | Solve→ |
String Compression 51% | MediumM | Solve→ |
Remove Letter To Equalize Frequency 51% | EasyE | Solve→ |
Design Hit Counter 50% | MediumM | Solve→ |
Best Time to Buy and Sell Stock 48% | EasyE | Solve→ |
Random Pick with Weight 47% | MediumM | Solve→ |
Reorganize String 47% | MediumM | Solve→ |
Construct Quad Tree 44% | MediumM | Solve→ |
Zero Array Transformation III 43% | MediumM | Solve→ |
Minimum Remove to Make Valid Parentheses 42% | MediumM | Solve→ |
Merge k Sorted Lists 37% | HardH | Solve→ |
Longest Repeating Character Replacement 31% | MediumM | Solve→ |
Climbing Stairs 28% | EasyE | Solve→ |
Group Shifted Strings 24% | MediumM | Solve→ |
Goat Latin 23% | EasyE | Solve→ |
Kth Missing Positive Number 21% | EasyE | Solve→ |
Similar Companies
Explore interview questions from other companies with similar interview patterns.
Frequently Asked Questions
What LeetCode problems does Red Hat ask in interviews?
Red Hat commonly asks 50 coding problems in technical interviews, including Lowest Common Ancestor of a Binary Tree, Make String a Subsequence Using Cyclic Increments, 4Sum. The difficulty breakdown is 9 Easy, 36 Medium, and 5 Hard problems.
How should I prepare for a Red Hat coding interview?
Focus on the most frequently asked problems first, especially those with high frequency scores. Red Hat interviews typically emphasize Array and String. Practice explaining your thought process while coding.
What is the difficulty level of Red Hat coding interviews?
Based on our data, Red Hat interviews include 9 Easy (18%), 36 Medium (72%), and 5 Hard (10%) problems.
Ready to ace your Red Hat interview?
Join thousands of engineers who landed offers at top tech companies.
Get Started FreeNo credit card required