InterviewLegend

Design a Data Structure

Alex Chen45 min readUpdated 86 real interview reports

Some Workday coding rounds skip the puzzle. Instead you write a class, with a few public methods and a rule the class has to keep, like a size limit or an order. Some want a basic structure built from scratch, and others add one more rule on top.

Settle the method signatures before you write any bodies. Say what each method returns on a miss. Keep every field private. A wrong return value on a miss is one of the easiest ways to fail an answer that is otherwise right, so decide it out loud before you code.

Then the follow-up comes, often a second thread touching the class or a rewrite on top of a Java collection. If your signatures are clean, the change touches one method and leaves the others alone.

WorkdayPremium lesson · Coding round

The 4 Workday problems are below.

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

+ 1 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.