InterviewLegend

Arrays, Numbers and Recursion

Alex Chen35 min readUpdated 86 real interview reports

Workday phone screens and campus rounds often start with a short array or number question, from pair sums and digit math to a little recursion. One of them comes up far more than the rest.

Each of these has a first answer that works. The follow-up is about cost, like a sort that could be one pass or a recursion that repeats its own work. Know the faster version and be ready to say why it's faster.

In Java, watch the integer width too. An int can overflow without any error once values grow. Try zero and an empty list before anything big, since those small inputs catch off-by-one bugs fast.

WorkdayPremium lesson · Coding round

The 5 Workday problems are below.

  1. A Premium questionCoding · Easy · Frequently asked
  2. A Premium questionCoding · Easy
  3. A Premium questionCoding · Easy

+ 2 more in this lesson

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

Get the Workday questions

$49 a year · all 100 companies · cancel anytime

From 20,000+ candidate reports, forum threads behind logins and write-ups in Chinese.

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

Know what Workday asks before you walk in.

31 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.