sample ansvers from various interviews 178Question Write code to find out if a nunber is odd 179 Candidate Qk give me a minute sounds of typing 180 Candidate My ansver is voice changes noticeably from speaking-voice to reading-voice Question Find all the odd numbers betveen 0-100 182 Me suspecting that the candi 183 ICandidate It means that ve find the percentage of i in 2 googled it* ok and can you explain to me what does that line mean? 2 Why are ve f 14 I walked the candidate through this code carefully singlein the last two lines This is a candidate who had 8 years total experience twice There are no typos not the 1 and not the 186 Me with a nice voice but nalicious intent* I understand that it is complicated Have you ever used this tore Candidate with obvious reliet Nonever! This is my first tine using it 18 Question Find all the odd numbers betveen 0-100 100 rtil 193 194 Question Find all the odd numbers between 0-100 Candidate I am sorry I have forgotten the exact formala for finding odd numbers 23 candidate said that finding only the odd numbers was too difficult and this nethod will find ALL numbers so 196 Candidate I understand but I cannot recall the formala so I cannot find these numbers 27 Question Find all the odd numbers betveen 0-100 200 Question Can you tell me about your professional history? candidate I try my absolute best to make ธure that my code does not have too many errors before I take it 29 30 the odd numbers between 0 and 205 Question Count down from 700 to 200 in decrements of coreot'hinunitt? completely the odd numbers between 0-100 211 IMe And if I fixed the syntax errors will it work then? 213 214 Me And why is that2 Candidate It has logic errors too you like Candidate I have been programming for 10 years 5 years as a hobby and 5 professionally know PHP Ruby JS including both node angular MongoDB Myso PostgresoL and more Me Nice What have candidate In the 5 years where I worked professionally I have worked in 4 companies as a webdex I have multiples sites up all done from scratch Some I developed solo and sone as part of a team I do both front-end and back-end development I am ready to tackle any challenge! Me ok using your language of choice can you find all the odd numbers between 0-1002 7 Question Find all the odd numbers betwveen 0-100 you used your skills for? 50 II asked the candidate what this code was supposed to do and the candidate replied I do not want to ansver 1 So I tried again Same candidate next question Find the sun of all integers betveen 0-100 3 MeOk and if I wanted this done in Javascript? more than this 222 Candidate tries for about 3 minutes 223 ICandidate I cannot do this My skill in mathematics is not high enough 6 IThis was the most experienced candidate with 19 years of professional experience Nineteen no typo This 226 candidate was programming professionally before many of you were born This situation happened with two different candidates Their responses were worded differently but the was the same Me Ok I want to ask you a couple of programming questions Do you have a paper and pen or pencil with you? 0 Question Assuming you have two integers x and y with y bigger than x Sum all the numbers from x to y 230 Me okUsing your preferred programming language find all the odd nunbers between 0 and 1002 Example If x is 1 and y is 5 then sum 1+2+3+4+5 232 Me Yes Write your code down and when you are done read it to me and then ve can go through it 233 Candidate But that is impossible! How can I write code without using a computer? 4+i 237 Question Find all the odd numbers betveen 0-100 Note that this was a phone interview 67 What is happening here? Your guess is as good as mine Candidate had no idea what this code was supposed to do 239 IMe I am trying to test your programming skills not your Google-search skills 240 Candidate Baha right! But İf 1 use Google how will you know? 241 Me I wil1 ask you similar questions in the face-to-face interview 1 Question Count down from 700 to 200 in decrements of 13 246 One of the worst interviews that I had that made me feel genuinely bad was this oneI tried to capture the mood of how it went as I did not get to see any code Some of the actions I describe are what I assume happened on the other end of the phone based on the sounds that I heard Me Greetings! Thanks for letting me interview you Are you ready and prepared? 247 249 Me Alright! Let us start *İntroductions and a bit of relaxing amantalk candidate is very cool Qk so your resume lists about 5 different programming languagesAre you good in all of them candidate I am good in Javaacript and PHP and ak in Java 81 Out of curiosity I asked Why is the answer a double? 82 Candidate Because it needs to store the value taken from _two variables so which is your f 252 Candidate Definitely avascript! I did a lot of work in Javascript! 253 Me That is good Can I ask you a question or two in Tavascript 6 Make a standard deck of cards Shuftle the deck and draw two cards at random Display the two cards Are you 256 candidate Yes yes I am on the line! ask you a questi can try my best to ansver gentle gloves ve are not trying to break the candidate Qk so you know what odd are right? for let count Yes YesI know odd number 261 Me ok so ny question is this Using your favourite language Javascript can you find all the odd numbers 8 This was slowly and painstak used for the second part which only had two cards while no loop was used for the cards but I decided against the odd numbers ok Why don't you t then read fter you are Candidate 'excited and breathless YES! Yesyes! scribblingscratching for about two minutes then some furious scribbling for a minute then the fast breathing but no seribbling sounds 1 19uestion Find all the odd numbers betuween 03 05 assuming x and lieve the candidate put the phone down and started writing I could hear some gentl y someone crossing out many lines on a paper Then came a minute Candidate voice completely broken Me making a fatal error of judgement by asking Is everything ak the odd numbersuhh thinkL the odd the odd nunbers alm polite email much later that this time I regret that I must decline the perplexing let me Candidate takes the last once to make not then you add you add odd then you add 2 Disregarding the sundry minor errors in the code the logic behind functional but ribly inefficient two cards at random Display the two cards 27 var arr-i23 45 679100K' ar arrl ar two- 36 t pos arr pos 50 51 52 ition push arrti for wamath finalArr var indexeeArrindexof nevArrti val 72 Behold this masterpiece! Read it slow and savour every 1ine for beauties like this come once fetine SWE interview in Saudi Arabia Meme










The Worst

found @ 24 likes ON 2019-04-22 19:37:53 BY

source: tumblr