Skip to content

Interview Solver

FeaturesPricingHelp
Sign In
FeaturesPricingHelpSign In
  1. Interview Questions
  2. /
  3. CGI

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.

4 Easy
15 Medium
5 Hard

Top Topics at CGI

ArrayHash TableDesignTwo PointersLinked List

Ace your CGI interview with AI

Get real-time AI assistance during your actual interview. Invisible to screensharing.

Start Free Trial

CGI Interview Problems

ProblemDifficultyDiffFrequencyTopicsAction
Populating Next Right Pointers in Each Node
100%
MediumM
100%
Linked ListTree+3
Solve→
Word Search
83%
MediumM
83%
ArrayString+2
Solve→
Insert Delete GetRandom O(1) - Duplicates allowed
83%
HardH
83%
ArrayHash Table+3
Solve→
Zero Array Transformation III
75%
MediumM
75%
ArrayGreedy+3
Solve→
Number of Islands
73%
MediumM
73%
ArrayDepth-First Search+3
Solve→
LFU Cache
70%
HardH
70%
Hash TableLinked List+2
Solve→
Open the Lock
67%
MediumM
67%
ArrayHash Table+2
Solve→
Dot Product of Two Sparse Vectors
66%
MediumM
66%
ArrayHash Table+2
Solve→
Shortest Word Distance II
53%
MediumM
53%
ArrayHash Table+3
Solve→
Best Time to Buy and Sell Stock IV
53%
HardH
53%
ArrayDynamic Programming
Solve→
Design HashMap
52%
EasyE
52%
ArrayHash Table+3
Solve→
Find Median from Data Stream
43%
HardH
43%
Two PointersDesign+3
Solve→
Design Hit Counter
39%
MediumM
39%
ArrayBinary Search+3
Solve→
Binary Tree Zigzag Level Order Traversal
39%
MediumM
39%
TreeBreadth-First Search+1
Solve→
Interval List Intersections
38%
MediumM
38%
ArrayTwo Pointers
Solve→
Find Score of an Array After Marking All Elements
37%
MediumM
37%
ArrayHash Table+3
Solve→
Spiral Matrix
37%
MediumM
37%
ArrayMatrix+1
Solve→
Linked List Cycle
35%
EasyE
35%
Hash TableLinked List+1
Solve→
Rotate Image
34%
MediumM
34%
ArrayMath+1
Solve→
Isomorphic Strings
30%
EasyE
30%
Hash TableString
Solve→
Create Hello World Function
28%
EasyE
28%
Solve→
Rank Transform of a Matrix
24%
HardH
24%
ArrayUnion Find+4
Solve→
Next Permutation
24%
MediumM
24%
ArrayTwo Pointers
Solve→
Flatten Binary Tree to Linked List
24%
MediumM
24%
Linked ListStack+3
Solve→

Similar Companies

Explore interview questions from other companies with similar interview patterns.

Best Buy
24 problems
Blue Origin
24 problems
Canva
24 problems
Carbon Health
24 problems
Cimpress
24 problems
Fujitsu
24 problems

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 Free

No credit card required

All CompaniesEasy ProblemsMedium ProblemsHard ProblemsBrowse by Topic
Interview Solver
  • Home
  • Pricing
  • Sign in
  • Contact
  • Blog
  • Companion
  • Help Center
  • Use Cases
  • Software Engineer
  • Product Manager
  • Misc
  • Privacy Policy
  • Terms and Conditions
  • Discord Community
  • Affiliate Program
  • Compare
  • All Comparisons
  • vs Final Round AI
  • vs UltraCode
  • vs Interview Coder
  • vs LockedIn AI
  • vs AI Apply
  • Free Tools
  • ATS Resume Checker
  • STAR Method Builder
  • Salary Lookup
  • Big O Cheat Sheet
  • Total Comp Calculator
  • View All →
  • Interview Questions
  • Google Questions
  • Amazon Questions
  • Microsoft Questions
  • Meta Questions
  • Apple Questions
  • TikTok Questions
  • View All →
© 2026 Interview Solver, Inc. All rights reserved.