CGI LeetCode Interview Questions
Practice 24 real coding problems frequently asked in CGI technical interviews. Master these questions to ace your next CGI software engineering interview.
Top Topics at CGI
Ace your CGI interview with AI
Get real-time AI assistance during your actual interview. Invisible to screensharing.
CGI Interview Problems
| Problem | DifficultyDiff | Action |
|---|---|---|
Populating Next Right Pointers in Each Node 100% | MediumM | Solve→ |
Word Search 83% | MediumM | Solve→ |
Insert Delete GetRandom O(1) - Duplicates allowed 83% | HardH | Solve→ |
Zero Array Transformation III 75% | MediumM | Solve→ |
Number of Islands 73% | MediumM | Solve→ |
LFU Cache 70% | HardH | Solve→ |
Open the Lock 67% | MediumM | Solve→ |
Dot Product of Two Sparse Vectors 66% | MediumM | Solve→ |
Shortest Word Distance II 53% | MediumM | Solve→ |
Best Time to Buy and Sell Stock IV 53% | HardH | Solve→ |
Design HashMap 52% | EasyE | Solve→ |
Find Median from Data Stream 43% | HardH | Solve→ |
Design Hit Counter 39% | MediumM | Solve→ |
Binary Tree Zigzag Level Order Traversal 39% | MediumM | Solve→ |
Interval List Intersections 38% | MediumM | Solve→ |
Find Score of an Array After Marking All Elements 37% | MediumM | Solve→ |
Spiral Matrix 37% | MediumM | Solve→ |
Linked List Cycle 35% | EasyE | Solve→ |
Rotate Image 34% | MediumM | Solve→ |
Isomorphic Strings 30% | EasyE | Solve→ |
Create Hello World Function 28% | EasyE | Solve→ |
Rank Transform of a Matrix 24% | HardH | Solve→ |
Next Permutation 24% | MediumM | Solve→ |
Flatten Binary Tree to Linked List 24% | MediumM | Solve→ |
Similar Companies
Explore interview questions from other companies with similar interview patterns.
Frequently Asked Questions
What LeetCode problems does CGI ask in interviews?
CGI commonly asks 24 coding problems in technical interviews, including Populating Next Right Pointers in Each Node, Word Search, Insert Delete GetRandom O(1) - Duplicates allowed. The difficulty breakdown is 4 Easy, 15 Medium, and 5 Hard problems.
How should I prepare for a CGI coding interview?
Focus on the most frequently asked problems first, especially those with high frequency scores. CGI interviews typically emphasize Array and Hash Table. Practice explaining your thought process while coding.
What is the difficulty level of CGI coding interviews?
Based on our data, CGI interviews include 4 Easy (17%), 15 Medium (63%), and 5 Hard (21%) problems.
Ready to ace your CGI interview?
Join thousands of engineers who landed offers at top tech companies.
Get Started FreeNo credit card required