Interview Intel · Zenefits

Zenefits coding interview
questions, leaked.

21 problems reported across recent Zenefits interviews. Top patterns: array, breadth first search, string. 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

Zenefits asks 21 problems across their OA, split roughly even between medium and hard difficulty with a cluster of easy warmups. Arrays dominate the list (9 problems), followed by BFS and string manipulation. You'll see patterns like sliding windows, two pointers, and graph traversal show up repeatedly. If you haven't touched problems like Sliding Window Maximum or Shortest Distance from All Buildings, you're walking in blind. StealthCoder runs invisibly during the live assessment and surfaces working code the moment you hit a wall, which matters when you're grinding through hard problems back-to-back.

Tracked problems
21
Easy
5/ 24%
Medium
11/ 52%
Hard
5/ 24%

Top problems at Zenefits

leaked_problems.csv21 rows
#ProblemDiffFrequency
01Majority ElementEASY
100.0
02Median of Two Sorted ArraysHARD
97.6
03Excel Sheet Column TitleEASY
97.6
04Shortest Distance from All BuildingsHARD
97.6
05Flatten 2D VectorMEDIUM
97.6
06Valid PalindromeEASY
97.6
07N-Queens IIHARD
97.6
08Sliding Window MaximumHARD
97.6
09Convert Sorted List to Binary Search TreeMEDIUM
97.6
10Trapping Rain WaterHARD
97.6
11Majority Element IIMEDIUM
97.6
12Graph Valid TreeMEDIUM
97.6
13Min StackMEDIUM
97.6
14Generate ParenthesesMEDIUM
97.6
15Valid ParenthesesEASY
97.6
16Course Schedule IIMEDIUM
97.6
17LRU CacheMEDIUM
97.6
18Course ScheduleMEDIUM
97.6
19Reverse Linked ListEASY
97.6
20Number of IslandsMEDIUM
97.6
21Verify Preorder Sequence in Binary Search TreeMEDIUM
97.6

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 Zenefits OA. The proctor cannot see it. Screen share cannot detect it. Built because the OA filter rejects engineers who'd pass the on-site. That's a broken filter. This is the workaround.

Get StealthCoder
Topic distribution
What this means

Array problems are your baseline. Master Majority Element, Trapping Rain Water, and the 2D vector iterator before you interview. BFS and DFS are nearly tied (5 and 4 problems), so graph traversal isn't optional. String work clusters around validation and generation (Valid Parentheses, Generate Parentheses, Valid Palindrome). The hard problems here are genuinely hard: Median of Two Sorted Arrays, N-Queens II, Sliding Window Maximum. Most candidates crater on one. Stack and queue problems require clean implementation. Hash tables appear less often (3 times) but pair with array problems. If you blank mid-OA on a monotonic stack or backtracking pattern you haven't drilled, StealthCoder gives you the fix in seconds without the proctor knowing.

Companies with similar patterns

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

The honest play

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

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 because the OA filter rejects engineers who'd pass the on-site. That's a broken filter. This is the workaround. Works on HackerRank, CodeSignal, CoderPad, and Karat.

Zenefits interview FAQ

Should I study arrays first for Zenefits?+

Yes. Nine of 21 problems touch arrays, including Majority Element, Trapping Rain Water, and Sliding Window Maximum. Start there, then move to BFS and string work. You can't afford to be weak on the pattern that shows up in 43% of their assessment.

How many hard problems will I see?+

Exactly 5 out of 21. Median of Two Sorted Arrays, Shortest Distance from All Buildings, N-Queens II, Sliding Window Maximum, and Trapping Rain Water are all hard. The rest are medium or easy. Hard problems eat time, so drill them separately from warm-ups.

Do I need to master graph problems for Zenefits?+

Graph problems appear in 6 of 21 questions when you count BFS and DFS separately. Graph Valid Tree and shortest-path variants will come up. You don't need advanced graph theory, but you need clean BFS and DFS implementations.

Is two-pointers a common technique here?+

Three problems explicitly use two-pointers (Valid Palindrome, Flatten 2D Vector, Trapping Rain Water). It's a supporting pattern, not the main event. But it pairs with array and string problems constantly, so practice the mechanic.

What should I do if I get stuck on a hard problem during the OA?+

Most candidates don't solve all 5 hard problems clean. If you blank on Sliding Window Maximum or Trapping Rain Water, that's when you need a backup. You can't afford to stare at the screen for 10 minutes.

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