Interview Intel · Geico

Geico coding interview
questions, leaked.

20 problems reported across recent Geico interviews. Top patterns: array, string, hash table. The list below is what most reported candidates actually saw, plus the honest play if you can't grind all of it.

Founder's read

Geico's coding interview is medium-heavy. Out of 20 reported problems, 16 are medium difficulty, and arrays and strings dominate the mix, appearing in half the problems you'll face. You need speed and pattern recognition on problems like Largest Palindromic Number and Maximum Number of Potholes That Can Be Fixed. Hash tables, greedy algorithms, and dynamic programming round out the core. If you blank mid-assessment, StealthCoder runs invisibly during your screen share and surfaces working code in seconds. That's your safety net.

Tracked problems
20
Easy
2/ 10%
Medium
16/ 80%
Hard
2/ 10%

Top problems at Geico

leaked_problems.csv20 rows
#ProblemDiffFrequency
01Largest Palindromic NumberMEDIUM
100.0
02Maximum Number of Potholes That Can Be FixedMEDIUM
100.0
03Integer to RomanMEDIUM
89.4
04Number of Steps to Reduce a Number in Binary Representation to OneMEDIUM
89.4
05Coin ChangeMEDIUM
81.5
06Best Time to Buy and Sell Stock with CooldownMEDIUM
81.5
07Valid SudokuMEDIUM
81.5
08First Missing PositiveHARD
76.2
09Number of Spaces Cleaning Robot CleanedMEDIUM
76.2
10Path with Maximum GoldMEDIUM
69.5
11Boundary of Binary TreeMEDIUM
69.5
12Longest Happy StringMEDIUM
69.5
13Minimum Number of Food Buckets to Feed the HamstersMEDIUM
69.5
14Cinema Seat AllocationMEDIUM
60.0
15Minimum Moves to Spread Stones Over GridMEDIUM
60.0
16Best Time to Buy and Sell Stock IIMEDIUM
60.0
17Decode StringMEDIUM
60.0
18Roman to IntegerEASY
60.0
19Count of Smaller Numbers After SelfHARD
60.0
20Remove All Adjacent Duplicates In StringEASY
60.0

Frequencies derived from public community-tagged interview reports. Click a row to view on LeetCode.

The hedge

You have a week, maybe less. You can't out-grind the list above. StealthCoder runs invisibly during the actual Geico OA. The proctor cannot see it. Screen share cannot detect it. Built by an Amazon engineer who realized the OA tests how well you memorized 200 problems, not how well you code.

Get StealthCoder
Topic distribution
What this means

The dataset skews medium. 80 percent of problems sit at medium difficulty, with only 2 hard outliers. Arrays and strings account for 19 of 20 problems combined, so your drilling should start there. Greedy and hash-table problems appear frequently and often interlock (Largest Palindromic Number hits all four). Dynamic programming is less common but critical for Coin Change and Best Time to Buy and Sell Stock with Cooldown. Matrix problems (Valid Sudoku, Path with Maximum Gold) require both array fluency and spatial reasoning. If you haven't practiced greedy string manipulation or hash-table counting patterns recently, StealthCoder is the hedge for whatever patterns you don't nail in the first ten minutes.

Companies with similar patterns

If you prepped for Geico, these companies recycle ~60% of the same topics.

The honest play

You've seen the list. Now make sure you pass Geico.

Memorizing every problem above in a week is a fantasy. StealthCoder is the hedge: an AI overlay that's invisible during screen share. It reads the problem on screen and surfaces a working solution in under 2 seconds. Built by an Amazon engineer who realized the OA tests how well you memorized 200 problems, not how well you code. Works on HackerRank, CodeSignal, CoderPad, and Karat.

Geico interview FAQ

Should I focus on arrays first for Geico?+

Yes. Arrays appear in 10 of 20 reported problems. Start with First Missing Positive and Valid Sudoku to build confidence, then move to matrix variants like Path with Maximum Gold. You'll recognize array patterns fast once you drill these.

How important is greedy for Geico?+

Very. Greedy strategies show up in 6 problems, often paired with strings or hash tables. Largest Palindromic Number and Maximum Number of Potholes That Can Be Fixed are great practice. Greedy intuition is harder to fake, so drill early.

Do I need to be strong at dynamic programming for this interview?+

Moderately. DP appears in 5 problems but pairs with arrays or breadth-first search. Coin Change and Best Time to Buy and Sell Stock with Cooldown are the core. If DP isn't your strength, focus on the recurrence relation structure first.

What's the hardest problem type on this list?+

First Missing Positive is the only hard array-hash-table problem. It requires in-place manipulation and hash logic under pressure. Every other problem is medium, so mastering First Missing Positive gives you a confidence boost and signals interview readiness.

How much time should I spend on matrix problems before the interview?+

Matrix problems appear in 4 of 20 reports, often paired with backtracking or simulation. Valid Sudoku and Path with Maximum Gold are your targets. Get comfortable with 2D traversal, then pivot to string and array work, which have higher frequency.

Problem frequencies sourced from public community-maintained interview-report repos. Problems, ratings, and trademarks are property of LeetCode and Geico. StealthCoder is not affiliated with Geico.