Design a Data Structure
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.
- A Premium questionCoding · Medium · Frequently asked
- A Premium questionCoding · Medium
- 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.
Workday interview guideKnow what Workday asks before you walk in.
31 coding · 3 system design · 15 behavioral questions
Get their questions first.
InterviewLegend is independent and not affiliated with or endorsed by any company it covers.