🔥 Popular | Latest

Bad, Definitely, and Google: //sample ansvers from various interviews 178//Question: 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 I/Candidate: 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 single"in 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: No,never! 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 I/Me: 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 I/I 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 //Me:"Ok and if I wanted this done in Javascript? more than this." 222 //Candidate: tries for about 3 minutes 223 I/Candidate: I cannot do this. My skill in mathematics is not high enough 6 I/This 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: ok.Using 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 one.I 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 languages.Are 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 Yes,I 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! Yes,yes! scribbling/scratching for about two minutes, then some furious scribbling for a minute, then the fast breathing, but no seribbling sounds 1 1/9uestion: 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 numbers...uhh think..L 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-i,2,3, 4,5, 6,7,,9,10,.0K' ar arrl ar two- 36 t (pos arr pos 50 51 52 ition] push (arrti for (wamath finalArr var indexeeArr.indexof (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

SWE interview in Saudi Arabia

Save
Friends, Head, and Movies: If a class was filled with every programming language, who would each programming language be? Assembly: He's the nerd. He speaks very quickly and uses short sentences. Very few people talk to him. He's considered to be an autist asperger by a majority of the class because he finishes the exams so quickly it's insane and he faces a lot of difficulties in speaking with others. He's at school but already dressed like an engineer Ada: She's a foureyes nerd. When she gets the answer shes doesn't make any mistake. Ada often corrects the teacher when she writes a line a little ambiguous. She's building a rocketship in her backyard and she's always speaking about this weird hobby Python: He's Mr Popular. He likes skate, brags about all the parties he's invited to. He's good in all the subjects taught in class but he'll do them a bit slower than the others. Everyone loves him because he explains things so well, sometimes the teacher herself asks Python to explain some part of the course. He's dressed with a hoodie, a baggy and glasses on the top of the head Java: She is one of the toppers of the class and very popular She's very good in all the topics. The teacher loves her but she's a very talkative person. Scala/Kotlin: They are twin sisters and the best friends of Java. Unfortunately, they are not as popular and it's often Java who takes the lead in the group. It's very difficult to distinguish one from another. Both are far less talkative than Java but Scala speaks a bit differently than Kotlin and Java C: He's the topper of the class. He's so fast in completing the exams that the teacher really thinks he's copying Assembly's work. He has a little brother C++ and they share a lot in common together. He's the chess major and often plays chess with Assembly and his big brother Go: He's the new kid on the bloc. He doesn't like C++ and his friends and he wants to prove he can do better than them. Of course, he prefers playing Go over Chess APL: He's a lonely guy. No one understands him when he speaks. Even the teacher is surprised when APL shows a correct answer after several lines of incomprehensible pictograms. People think that he was born in a foreign country... or a foreign planet? HTML/CSS: These twin brothers are very different. One is dressed in black and white and the other is dressed with everything except black and white. HTML is very talkative and annoying and the CSS is very artistic. CSS is the best student in Art lessons and HTML performs well in written expression. LaTeX: She's friend of HTML. The teacher likes her because she has a gift of writing. LaTeX likes the mathematical courses because she can draw fancy greek letters. The teacher knows this well and she is often asked to write a formula on the black board VBA: He's in the back, looking through the windows. Not really interested in the courses taught in class. In the exams he answers always with a table C#: He's in the back playing yet another game on his smartphone. He likes being next to the windows also JavaScript: People often mix up Java and JavaScript because they have a similar name. But they are definitly not the same. Javascript spends a lot of time with HTML and CSS. He's as artistic as CSS but he prefers things that move He likes actions and movies. CSS dreams to be a painter wheras JavaScript wants to be a film-maker Haskell: He's a goth. Dressed up in dark. Doesn't talk to anyone. He doesn't understand why others write pages when he can write a couple of lines to answer the same question Julia: She's the newest student here. She doesn't have any friends yet but her secret aim is to be as popular as Python and as fast as C If Programming Language were students. Found on Quora

If Programming Language were students. Found on Quora

Save