InterviewLegend

Arrays, Lists and Log Scans

Alex Chen40 min readUpdated 131 real interview reports

The four problems here don't share one pattern. One is a matrix walk, one is a linked list rewrite, one is an array puzzle, and one is a log scan over a time window. What they share is bookkeeping, where every bound and pointer has to land exactly right.

Two of them have come up together as the two problems in a one-hour MTS-2 round. That leaves about fifteen minutes for the first and thirty for the second, so practice them back to back against a clock.

One comes with a follow-up that asks you to restore the input afterward, which the textbook answer can't handle. The log question looks easy, but sorting the times as strings breaks it.

Code quality gets its own score at Nutanix, and these four problems show it quickly. A matrix walk with unnamed bounds is hard to read even when it runs, and so is a list rewrite juggling six loose pointers. Name your variables and keep each step short.

NutanixPremium lesson · Coding round

The 4 Nutanix problems are below.

  1. A Premium questionCoding · Medium
  2. A Premium questionCoding · Hard
  3. A Premium questionCoding · Hard

+ 1 more in this lesson

Each with hints, the follow-up and a tested solution.

Get the Nutanix questions

$49 a year · all 100 companies · cancel anytime

From 131 Nutanix reports, forum threads behind logins and write-ups in Chinese.

Had your Nutanix interview?Tell us what they asked. Reviewed before it goes in, never with your name.
Nutanix interview guide

Know what Nutanix asks before you walk in.

32 coding · 3 system design · 15 behavioral questions

Get Premium$49 a year · Cancel anytime
Or start freeNo card.

Get their questions first.

InterviewLegend is independent and not affiliated with or endorsed by any company it covers.