Job Preparedness Workshop Session 3: Interviewing and Whiteboarding
A panel of Sparkboxers will interactively lead this session. You will gather important tricks and tips for how to prepare for interviews and whiteboarding and learn how to deal with questions you are not sure how to answer.
Activity:Try out a Whiteboarding Question with a Dev Buddy ● You’ll get the most value if you don’t solve these problems alone ● Step away from a computer, grab a piece of paper, and a dev buddy, and try to solve these problems interactively while talking the solution through.
Given two arrays of integers, compute the pair of values (one value in each array) with the smallest (non-negative) difference. Return the difference. E.g. (1, 3, 15, 11, 2) and (23, 127, 135, 19, 8): output is 3 of the pair (11, 8)
‘The kciuq fox depmuj over eht lazy god’ a. You are given the above phrase. Use any language of your choosing to get the phrase to be written correctly. That is, for every other word, reverse the letters to make the phrase say: ‘The quick fox jumped over the lazy dog’.