Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Preview
Start a free Courses trial
to watch this video
Here we will briefly discuss and walk through some whiteboarding examples.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
Whiteboarding takes on many forms
depending on where you're interviewing,
0:00
the company culture,
the product, and the language.
0:04
What remains the same is that
the company is looking to see
0:08
how you approach a problem and
talk through the process.
0:11
It isn't about whether the idea was right,
or
0:15
the user interface you designed was
beautiful or if the code works seamlessly.
0:17
I realize this is a lot of information,
0:24
much of this you'll probably do naturally
in the whiteboard process over time.
0:27
These are some of the tips we found
helpful as you prepare and practice for
0:31
that whiteboard interview.
0:35
We thought it might be helpful for you to
see a few brief examples for designers and
0:37
developers.
0:41
Regardless of what you're currently
learning, both will be helpful for
0:43
you to visually see parts of the process.
0:46
Here's an example on the developer and
0:50
that focuses on the importance of asking
questions and talking out your process.
0:51
The interviewer provides you
with the whiteboard exercise.
0:57
They tell you to output
the integers from 1 to 100.
1:00
For each multiple of three, print tree.
1:04
For each multiple of five, print house.
1:07
For multiples of both three and
five, print Treehouse.
1:10
You might start off by asking questions
such as, what number should I start at and
1:15
how should this be printed to the console?
1:20
Do you only want matches to the numbers
that fit within those parameters
1:23
to make sure you have
clarity on what to solve?
1:27
From there, state your assumptions.
1:31
You might assume that there
are no edge cases to be checking.
1:34
Once you feel comfortable,
begin to whiteboard and test your code.
1:38
Remember to talk through your
process as you're doing it.
1:42
I'm going to begin by seeing
what is divisible by 3.
1:46
Next, I'm going to check if
the numbers are divisible by 5.
1:51
Continue explaining your process and
1:56
answering questions
the interviewer might have.
1:58
Why are you checking this?
2:02
If the numbers are divisible by 3,
2:05
then we can say if i is divisible
by 3 then console.log tree,
2:08
we should get 1, 2, tree, 4 house, tree.
2:14
From there, you'll want to complete
the task while using the tips we shared.
2:19
Now let's check out a design example.
2:23
The interviewer begins by
sharing the prompt with you.
2:27
On average, a typical middle-class
American family wastes
2:29
over 4M lbs of material to
keep up with their lifestyle.
2:34
A majority of that is what they throw
away or recycle on a daily basis.
2:39
How can Americans be more conscious
about the waste they throw away?
2:44
Assume technology can play
a role in helping here.
2:49
Give the user an interface that can
help them manage their waste disposal.
2:52
Feel free to be a little imaginative
with the potential of how hardware and
2:57
software can coincide
to solve the problem.
3:01
Begin by asking questions, so
3:05
they'll give you more context
of what direction to go in.
3:07
Who is the audience or
what is the end goal?
3:11
From there, you'll state any assumptions
and throw some ideas on the board.
3:14
As you make a decision on which idea to
move forward with, you'll begin to wire
3:19
frame more screens, and talk through
your process while answering questions.
3:24
A quick way of communicating and
experience is by using a user flow,
3:29
which is basically a flow
chart of interactions.
3:33
Critique your solutions, pointing out
the pros and cons to each approach.
3:37
If your solution is complex,
include a simplified initial version
3:42
to show an awareness of time constraints
and incremental development workflows.
3:46
A whiteboard interview is your
chance to showcase the knowledge and
3:53
skills that you have worked so hard on,
as well as your ability to solve problems.
3:56
If you're still feeling a bit uneasy and
wanna do a deep dive.
4:02
I encourage you to check out the teachers
notes for more whiteboarding resources.
4:06
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up