Earlier quoted context omitted.
I'm not sure if HackerRank has updated itself recently, but the last time I poked my head in there (years ago), all the answers were in the "Talk about this challenge" section. You'd just go in there and copy paste the code in, maybe change the variable names/order a bit. Ever since I learned that, it's never been that 'wowzers' for me.
Isn't the whole point of the challenge to figure out how to do the problem? What you say is literally just copy/pasting others' answers. Is that not looked down on?
Harder programming questions do a worse job of predicting outcomes
501–510 of 540 posts
Re: Harder programming questions do a worse job of predicting outcomes
#502Earlier quoted context omitted.
Right at the top of that link: > Testing or measuring procedures cannot be determinative in employment decisions unless they have some connection to the job. IQ tests are not directly related to the job, and so are illegal according to that ruling. Coding tests are directly related, which is why they get a pass.
You didn’t read the opinion and you added the word “directly” to the summary. Do you scan source code and draw firm conclusions about what it does based on skim reading the first comment you see? Perhaps my old contracts prof could have a second career as a google interviewer. (He was notorious for cold calling people that hadn’t briefed their cases and eating them alive.)
Re: Harder programming questions do a worse job of predicting outcomes
#503Earlier quoted context omitted.
Easy - reverse a string, determine if a string is a palindrome, reverse the digits of an integer, determine if one string is an anagram of another. Hard - implement a subset of regex match in optimal time+space, find the operations required to turn 1 word into another word given a list of transitory words, find the median of 2 sorted arrays in optimal time, find the next permuted value.
That's more like small/large than easy/hard.
Re: Harder programming questions do a worse job of predicting outcomes
#504Earlier quoted context omitted.
Totally true. In my case it was a natural progression: "videogames are great!" -> "I have an idea for even better videogame!" -> "how do I make one?" -> "can I tweak this one into being a bit more the way I like it?" -> tinkering around data files -> "I really want to make my own game" -> picking up a programming book at 13 -> a programming career.
22 -> make crud Java apps at a corporate software farm for a decade and lose faith in humanity
Re: Harder programming questions do a worse job of predicting outcomes
#505Earlier quoted context omitted.
I'm envious because my parents heavily restricted my computer use thinking it'd rot my brain or I'd get r*ped. They wanted me reading books, to become a lawyer or a doctor. I always had an affinity for technology. My folks meant well but I think not watering that seed has me in the middle of this lost life.
I spent so many years yearning. It was so unfair that all of the other kids had Pentium computers at home, and all I had was an old 386. My parent's refused to get me a game console, or cable tv. I was SO BORED, in my desperation, I tried making games in QuickBASIC. I still think my parent's should not have gone so Amish, but I also don't think I would have developed as a programmer without that.
Re: Harder programming questions do a worse job of predicting outcomes
#506Google recruiters call me a lot. I think I'd do a good if not stellar job working there. I've passed multiple FAANG interviews and been very successful as a senior developer. In my email I have an "interview prep packet" from them that essentially tells me to brush up on algorithms and read Cracking the Coding Interview to prepare for their interview process. I'm fairly happy in my job. If they offered more money or…
In short, I think the exact same question is interpreted as a cool algorithm challenge or a recall check, and the interviewer will be fine with you rederiving the answer on the spot if you are quick thinking enough to do so.
Re: Harder programming questions do a worse job of predicting outcomes
#507> However, whether or not a candidate answers a question correctly is not the only source of signal during an interview. You can also evaluate their process by, for example, observing how long it takes them to finish, how clean their code is, and how much they struggle while finding a solution. Our analysis shows that this second source of signal (process) is almost as predictive as the first (correctness). I seem to…
regarding the simpler solution, i just had that situation today. working on elevatorsaga.com the candidate clearly wanted to solve the full problem correctly (the way a real elevator works) from the get-go. however doing so would have taken him several hours without him knowing if he got any closer to a working solution. i had to push him to try something simpler first just so that he would get to somewhere meaningfu…
For example, asking someone to write a self balancing binary search tree in an interview might be too much. And asking a question that ultimately demands using a self balancing BST might be a bit much. It's like asking a question that really needs an associative array, but then imposing the rule that associative arrays aren't available. How about simply asking the candidate about binary trees, if they've used them, and what they've used them for?
Last week an interviewer asked me about if I was familiar with the Egg Dropping problem (https://brilliant.org/wiki/egg-dropping/). I wasn't, but I remember saying something like, "I haven't done this one before, but I'm pretty sure it's going to take O(log n) guesses to find the max floor from which you can safely drop the egg." The interviewer asked me how I'd implement it, and then we got into the weeds when I started asking for what the requirements were. He wouldn't share any information about inputs & outputs, so I just started writing the dumbest thing possible, predictably coded myself into a corner, and burned a potential interview win-win on learning how answer that kind of question for that kind of interviewer.
Re: Harder programming questions do a worse job of predicting outcomes
#508Earlier quoted context omitted.
I'm not sure if HackerRank has updated itself recently, but the last time I poked my head in there (years ago), all the answers were in the "Talk about this challenge" section. You'd just go in there and copy paste the code in, maybe change the variable names/order a bit. Ever since I learned that, it's never been that 'wowzers' for me.
"Ever since I learned that, it's never been that 'wowzers' for me." I am not sure I follow. For people who want to, there is a section where they can find answers even if they have not solved the problems. What was 'wowzers' about HackerRank before you learned that?
Re: Harder programming questions do a worse job of predicting outcomes
#509Earlier quoted context omitted.
Isn't the whole point of the challenge to figure out how to do the problem? What you say is literally just copy/pasting others' answers. Is that not looked down on?
Given the name of the site (I've never used it), I always assumed it was about proving your ability to others (like maybe future employers). Easily-found answers totally destroys the trust that's needed for such a thing to work.
Re: Harder programming questions do a worse job of predicting outcomes
#510Earlier quoted context omitted.
It's made me angry how many people I've interviewed who can't manage Fizz Buzz with only 2 conditions or at all.
I'm curious to find out what people define as fizzbuzz, do you have a good example of something you've asked in the past?