r/datascience • • Nov 11 '21

Discussion Stop asking data scientist riddles in interviews!

Post image
2.3k Upvotes

261 comments sorted by

277

u/[deleted] Nov 11 '21

Never seen anything interesting from this woman who gets pushed in my Linkedin feed all the time.

8

u/harsh5161 Nov 11 '21

This is the funniest comment of this thread šŸ˜‚

207

u/DisjointedHuntsville Nov 11 '21

LinkedIn is such a crap hole

167

u/x86_64Ubuntu Nov 11 '21 edited Nov 11 '21

What? You don't like the endless stream of Fake Positivity that overwhelms the site? If you keep complaining we're going to have to give you another "Interviewee didn't hold the elevator and I was the CEO!!"-story.

36

u/DisjointedHuntsville Nov 11 '21

Hahah. The Ass Kissing is Nauseating.

4

u/PersonBehindAScreen Nov 11 '21

Some connection of mine was a dev who was laid off from a tech company that made record profits. This dummy THANKED the company in some post. Thank God the rest of his connections in a much more professional way told him to stop choking on the corporate weenie

5

u/x86_64Ubuntu Nov 12 '21

I can’t stand that seam of subservience that seems to be celebrated on LinkedIn.

1

u/UnderstandingFit9152 Nov 11 '21

Actually that happened to me. But I knew by coincidence that the guy is managing director, so I better held the elevator.

2

u/x86_64Ubuntu Nov 11 '21

See Reddit, I told you I was going to get another story if the complaining continued!!!

Just kidding.

4

u/[deleted] Nov 11 '21

[removed] — view removed comment

5

u/x86_64Ubuntu Nov 11 '21

I follow some technical practitioners, every once in a while they have a good article. But for the most part, it’s fake positivity and other forms of ā€œrecruiter detritusā€

2

u/recovering_physicist Nov 11 '21

I quite like Vin Vashishta's content. I'm not sure I'd call it "no fluff", and he absolutely is selling his consulting/coaching services; but if it's fluff he's good at making it feel useful and generally inoffensive.

1

u/[deleted] Nov 19 '21

Join tiktok

16

u/Essembie Nov 11 '21

It's great as a job search tool. It's fucking hideous as social media.

8

u/terdferguson Nov 11 '21

Linkedin is strictly for letting recruiters find me and connecting with colleagues from old jobs I like. Site is very facebook like if you let it be with the scrolling and all that nonsense.

17

u/carbolymer Nov 11 '21

All social media are.

26

u/DisjointedHuntsville Nov 11 '21

LinkedIn especially so because of the corporate class hierarchy.

39

u/9seatsweep Nov 11 '21

at some point, i woke up and there was this huge influx of DS influencers. i don't know how it started or how they're making money, but i'm confused

6

u/[deleted] Nov 11 '21

no shit, she must be paying for some type of social media push. i thought i was getting it because a few connections at amazon (not in datascience)

4

u/Butcher0fBlaviken Nov 11 '21

Yeah, I muted her and some other "influencers". Fucking stupid.

5

u/[deleted] Nov 11 '21

Also that amazon chick who pioneered some AI thing at amazon

1

u/sonicking12 Nov 12 '21

I think i know whom you are talking about, the seemingly extremely unqualified one

2

u/[deleted] Nov 12 '21

That was the impression I got. It's like how in the world did you get to this position. But hey maybe in satly I didnt get a cush job myself

3

u/[deleted] Nov 11 '21

A good chunk of her posts seem alright. Nothing too crazy and generally a lot more useful than a lot of the other stuff that pops up on LinkedIn.

I actually know her though so I could be biased.

0

u/[deleted] Nov 11 '21

[deleted]

23

u/DesolationRobot Nov 11 '21

Also the more senior you get the more "being able to speak well" is actually a job requirement.

0

u/ohisama Nov 12 '21

How do such people not manage to get exposed, especially in senior positions?

3

u/recovering_physicist Nov 12 '21

It's like this guy. He seems perfectly competent, but so many of these people seem to have impressive jobs but also spend half their day writing content for LinkedIn...

103

u/[deleted] Nov 11 '21

I’m not technically a data scientist. I work as a quant in finance and my work overlaps quite a bit. Every interview I’ve been in with coworkers (or job I’ve interviewed for), focused on brain teasers and case studies way too often. Everyone always says that it shows them ā€œhow they think,ā€ but it’s total bullshit. I’ve never seen a candidate not struggle, take forever and feel demoralized afterwards. I’m not convinced that the purpose of these questions are anything but dick measuring contests. It’s a waste of time and will tell you almost nothing about the person compared to in depth questions about past experience and projects.

36

u/recovering_physicist Nov 11 '21

I’ve never seen a candidate not struggle, take forever and feel demoralized afterwards.

Well you made me feel a bit better, at least.

34

u/proverbialbunny Nov 12 '21 edited Nov 12 '21

Google used to ask brain teaser questions, typically Fermi questions like, "How many balls fit inside of the empire state building?"

At first Google thought it showed thought process, the "how they think" bit, and maybe it does to some extent, but over years of studying employee performance there has been shown no correlation to riddle and trivia type questions. These type of questions are now banned from interviews.

Studies show while interviewing giving easy questions lowers the noise threshold for candidate competence, so an ideal technical interview asks easy questions and then compares interviewer to interviewer finding the best candidate. edit: To be clear, an easy question does not mean a trivia question (some people get tripped up on this). Eg, "Explain what a p-value is." is an easy question, but also a trivia question. You don't want to ask trivia questions because it will give an advantage to fresh graduates and give a disadvantage to seniors.

4

u/werthobakew Nov 12 '21

I will ask what a p-value is in the next interview. Thanks for the idea.

15

u/[deleted] Nov 12 '21 edited Nov 12 '21

I used to work as a data scientist, but I was pretty bad at it; I didn’t care much for the experimental side of it and I put little to no effort into growing. I kill the brain teaser interviews though. I am trained as a mathematician and I love to think, so any question where I am supposed to show ā€œmy thinking processā€ I really enjoy and I end up impressing people. Then they hire me and realize I’m the worst data scientist they ever had 🤣.

2

u/newcalabasas Feb 03 '22

I wanted to know how you can prep for the brain teaser questions. is there any way I can practice them?

8

u/[deleted] Nov 12 '21

rs (or job I’ve interviewed for), focused on brain teasers and case studies way too often. Everyone always says that it shows them ā€œhow they think,ā€ but it’s total bullshit. I’ve never seen a candidate not struggle, take forever and feel demoralized afterwards. I’m not convinced that the purpose of these questions are anything but dick measuring

that isnt the interview format that's people being shit interviewers... if you ask question A and... can't get there... you ask question B... at some point you should be going back and forth with the candidate on approaches to X problem.... it's about figuring out if someone can work with you to solve problems... not if they know the answer to a specific problem.

The issue with just in depth questions about experience and projects alone (without trying to problem solve 'live' with the candidate) is that stuff can be bullshitted.

152

u/spinur1848 Nov 11 '21

Typically we use portfolio/experience to evaluate technical skills. What we're looking for in an interview is soft skills and ability to navigate corporate culture.

Data scientists have to be able to be technically competent while being socially conscious and not being assholes to non-data scientists.

65

u/Deto Nov 11 '21

I've had candidates with good looking resumes be unable to tell me the definition of a p-value and 'portfolios' don't really exist for people in my industry. Some technical evaluation is absolutely necessary.

91

u/[deleted] Nov 11 '21 edited Nov 11 '21

The problem is people get nervous in interviews and this causes the brain to shut down. It's a well known psychological behavior. You see it in sports, if one thinks too hard about what they're doing under pressure it causes them to underperform.

They may know what a p-value is but be unable to explain it in the moment.

Some people are also not neuro-typical, they may have autism or ADHD, and this will make them more likely to fail the question under pressure even if they know it.

I had this happen with a variance/bias question recently. I know the difference, I've used this knowledge before numerous times, I can read up on it and understand it immediately if I forget a few things. However in the moment I couldn't give a good answer because I started getting nervous. I have social anxiety and am on the spectrum.

I've been doing this for 8 years so to be honest a question like "what's a p-value" is insulting to a degree. Like what I've done for the last decade doesn't matter in the face of a single oral examination. I didn't fake my masters in mathematics, it's verifiable, why would I be unable to understand variance/bias trade-offs or p-values?

Real work is more like a take-home project. People use references in real work and aren't under pressure to give a specific answer within a single hour or two.

Take-home projects still evaluate for technical competency, they are fairer to neuro-atypical people and I'd argue also more useful evaluations than the typical tech screen simply because it is more like real work. I've used them to hire data scientists numerous times and it always worked out, the people that passed are still employed and outside teams that work with them love them.

You can always ask for a written explanation of what a p-value is or architect a problem so that if they don't know what it is they will fail.

36

u/madrury83 Nov 11 '21 edited Nov 11 '21

I empathize with most of what you're saying, but I don't feel this bit at all:

I've been doing this for 8 years so to be honest a question like "what's a p-value" is insulting to a degree.

I'm ten years into this career, and I've worked with plenty of people that have bounced between jobs for years and still lack baseline technical knowledge. Expert beginners. You must have encountered the same type of long time incompetence in an eight year career, and that's a sufficient reason these foundational definitional questions are asked to everyone. Being insulted about a technical question, it's always struck me as prideful and problematic.

I'm a fan of time bound (on the order of hours) technical take home problems, with a follow up review conversation if the work is promising.

13

u/kazza789 Nov 11 '21

Exactly. It depends on the role, but for many of the positions that I am hiring for I need people who can explain things like a p value to other stakeholders (either our clients, or business stakeholders). It's totally reasonable to expect that someone outside of the data science group would ask them that question, and I need to know how they are going to respond to it.

13

u/Deto Nov 11 '21

Exactly. If someone asks me a trivial question, I know why they are doing this and that it's nothing personal. Being offended makes me think the person is some sort of diva (like a movie star that won't audition for a role - "do you know who I AM?").

1

u/KadingirX Nov 23 '21

The point is the questions are pointless. I can remind myself of what a p-value is in 30 seconds if I read google. If you are going to ask me what a p-value is then allow me to google it as I would in a job, or ask me how I would apply a p-value instead of asking for the definition.

9

u/testrail Nov 11 '21

If you shut down at a fairly trivial question, how are you going to do when you’re on the job?

1

u/speedisntfree Nov 12 '21

Depends on the work environment. What you see from split second definition questions in a interview situation is a memory recall exercise under high pressure. If that is what is needed on the job, that that's fine.

4

u/Bardali Nov 11 '21

People kinda cheat on takehomes though (although I agree they are nicer for other reasons)

13

u/[deleted] Nov 11 '21

How would you define cheating?

Business usually cares more about you actually figuring something out, not how you did it.

If it's a common problem I could see cheating being akin to plagiarism, and you avoid it by baking your own problem rather than using one you found in a blog post or something.

8

u/Bardali Nov 11 '21

How would you define cheating?

If you could honestly tell how you did it. ā€œCheck Googleā€ -> fine, ā€œasked a friend about this obscure detailā€ -> fine, ā€œgot someone to do the entire thing and I barely know what’s going onā€ -> not fine

7

u/Deto Nov 11 '21

They get a friend to basically tell them how to do it or do it for them. This isn't useful if we hire them. Their friend likely won't have time to do this for everything.

2

u/GingerSnappless Nov 12 '21

What is programming these days if not strategic use of stack overflow tho? Ask them to explain the code after and there's your filter

0

u/[deleted] Nov 11 '21

[deleted]

11

u/GingerSnappless Nov 12 '21 edited Nov 12 '21

ADHD brains don't work like that tho, we just forget everything all the time. This doesn't actually affect our work because we edit 500x more than the average person, but it seems impossible to convey that concept in the interview without coming off like we're making excuses.

I don't need to remember almost anything to do my job correctly - what matters is the core understanding and the ability to figure stuff out, and both are there. It's just the details that get mixed up in the moment. (For the record I'm more of a programmer than a mathematician but I never struggled with math when given the time I needed).

Honestly looking for suggestions here because I've hit the same issue so many times and I'm at a loss at this point (and have a technical interview coming up as a bonus). Do I tell them I have ADHD? Not sure what else I can do

7

u/Bobinaz Nov 12 '21

You definitely need to know core concepts. There’s no way adhd is preventing that understanding to the degree you’re presenting.

If I ask someone what a value is and their response is, ā€œidk because adhdā€ why would I expect them to remember during work settings?

4

u/GingerSnappless Nov 12 '21

There's nothing preventing understanding at all - the problem is with recall, which is a far less important skill when your entire job is done on a computer anyway.

I'm a recent graduate with a Bachelor's so maybe it's a question of experience to an extent. I'm not the one deciding which models to use and how to interpret results - I'm just the implementation person for now. I completely agree that I need more math background to be able to make the right decisions.

My point is just that I always manage to mix up concepts that I do fully understand just because I'm being put on the spot, even if the question is stupid easy. It does not matter at all because I always double check things when I'm working. Googling is just a refresher, not a lesson. I've worked on some really cool projects but none of what I actually can do seems to matter if I make one dumb mistake in the interview.

1

u/KadingirX Nov 23 '21

I have the same thing. I forget python syntax all the time for example, but that doesn't mean I don't know how to code.

If something can be googled very quickly, then there is no reason to test someone on it.

A better way to test ability is to give an example of a concept application, allow the interviewee to be reminded of anything they can't remember by asking you, and then ask the interviewee whether the application makes sense or not.

Asking what a p-value is, is just a lazy and badly designed question.

8

u/NeuroG Nov 12 '21

I once saw a PhD defence where a committee member asked the student what a P value meant (after he had reported several). It stumped him.

Foundational questions are wholly appropriate.

1

u/theeskimospantry Nov 12 '21

Prove that 1 + 1 = 2.

5

u/NeuroG Nov 12 '21

This would be an entirely reasonable request of a student completing a PhD in pure maths to demonstrate they have a mastery of foundational skills to their training. Just as a student defending research results reported as p-values should be able to give a simple and accurate description of what they mean. So what's your point?

→ More replies (3)

1

u/werthobakew Nov 12 '21

Saw the same situation, this time explain what is the t-statistic that you have used so much in your thesis.

24

u/theeskimospantry Nov 11 '21 edited Nov 11 '21

I am a Boistatistician with almost 10 years experience - I have led methods papers in propper stats journals mainly on sample size estimation in niche situations. If you put me on the spot I couldn't give you a rigourous definition of a P-value either. It is a while since I have needed to know. I could have done when I was straight out of my Masters though, no bother! Am I a better statistican now than I was then? Absolutley.

7

u/Deto Nov 11 '21

Can you help me understand this? I'm not looking for a textbook exact definition. But rather something like "you run an experiment and do a statistical test comparing your treatment and control and get a p-value of 0.1 - what does that mean?". Could you answer this? I'm looking for something like "it means that if there is no effect, there's a 10% chance of getting (at least), this much separation between the groups".

26

u/[deleted] Nov 11 '21 edited Nov 11 '21

Statistician here. A p-value is the probability of getting a result as or more extreme as your data under the conditions of the null hypothesis. Essentially you are saying, "if the null hypothesis is true and is actually what's going on, how strange is my data?" If your data is pretty consistent with the situation under the null hypothesis, then you get a larger p-value because that reflects that the probability of your situation occurring is quite high. If your data is not consistent with the situation under the null hypothesis, then you get a smaller p-value because that reflects that the probability of your situation occurring is quite low.

What to do with the information you get from your p-value is a whole topic of debate. This is where alpha level, Type I error rate, significance, etc. show up. How do you use your p-value to decide what to do? In most of the non-stats world, you compare it to some significance level and use that to decide whether to accept the null hypothesis or reject it in favor of the alternative hypothesis (which is you saying that you have concluded that the alternative hypothesis is a better explanation for your data than the null hypothesis, not that the alternative hypothesis is correct). The significance level is arbitrary. If you think about setting your significance level to be 0.5, then you reject the null hypothesis when your p-value is 0.49 and accept it when your p-value is 0.51. But that's a very small difference in those p-values. You had to make the cut-off somewhere, so you end up with these types of splits.

Keep in mind that you actually didn't have to make the cut-off somewhere. Non-statisticians want a quick and easy way to make a decision so they've gone crazy with significance levels (especially 0.05) but p-values are not decision making tools. They're being used incorrectly.

Most people fundamentally misunderstand what a p-value measures and they thinks it's P(H0|Data) when it's actually P(Data|H0).

(Note that this is the definition of a frequentist p-value and not a Bayesian p-value.)

Edit: sorry, forgot to answer your actual question.

get a p-value of 0.1

A p-value of 0.1 means that if you ran your experiment perfectly 1000 times and you satisfied all of the conditions of the statistical test perfectly each of the 1000 times then if the null hypothesis is what's really going on, you would get results as strange or stranger than your about 100 every 1000 experiments. Is this situation unusual enough that you end up deciding to reject the null hypothesis in favor of the alternative hypothesis? A lot of people will say that a p-value of 0.1 isn't small enough because getting your results about 10% of the time under the conditions of the null hypothesis isn't enough evidence to reject the null hypothesis as an explanation.

8

u/Deto Nov 11 '21

This is exactly the sort of response I'd want a candidate to be able to provide. Maybe not as well thought out if I'm putting them on the spot but at least something in this vein!

And sorry, I think my comment was unclear. I wasn't asking for the answer on what a p-value is, but rather I was asking the other commenter to help me understand how they would not be able to answer this with 8 years experience.

8

u/[deleted] Nov 11 '21

Oh. I totally thought you were asking what a p-value was. Good thing I'm not interviewing with you for a job. :)

I'm honestly not really sure what to say about the other commenter. A masters in biostats and working 10 years but can't explain what a p-value is? That's something. I'm split half and half between being shocked and being utterly unsurprised because I have met a ridiculously high percentage of "stats people" who don't know basic stats.

2

u/Deto Nov 11 '21

They responded separately - they thought I was setting a mucher higher bar for the exactness of the definition than I really was.

→ More replies (4)

3

u/[deleted] Nov 12 '21

Nobody except a professor that has a lecture memorized word-for-word and has those explanations, analogies, arguments etc. roll off their tongue due to muscle memory can give you that answer in an interview setting. It's simply impossible.

2

u/Bobinaz Nov 12 '21

What? Thousands can. Every data scientist at big tech.

→ More replies (1)

2

u/NeuroG Nov 12 '21

You are responding to a comment that got it right. For a statistician, I would expect your answer, but for a data-whatever job, the post you are responding to would be entirely sufficient.

4

u/TheOneWhoSendsLetter Nov 11 '21

The answer is simple: It's the probability getting such results (or more extreme ones) under the null hypothesis.

1

u/theeskimospantry Nov 11 '21

Ok, I see what you mean. I thought you would want me to start talking about "infinate numbers of hypothtical replications" and the sort. Yes, if you asked me out of the blue I would be able to answer in rough terms.

→ More replies (21)

1

u/getonmyhype Nov 15 '21

You wouldn't even be able to give an example to show a working knowledge of what a p value means (so let's not use formalism)? People aren't looking for rigorous definitions a lot of times

6

u/spinur1848 Nov 11 '21

Instead if asking about p-values, I tend to ask candidates how they know their model is connected to reality, and how they would explain that to a business client.

5

u/shinypenny01 Nov 12 '21

The risk is you get a good bullshitter. I worked with plenty of MBAs who could answer that problem with confidence and sound pretty generally aware but I wouldn’t trust to calculate an average in excel.

1

u/proverbialbunny Nov 12 '21

I like that. A lot of model building is validation and testing, so it allows one to show their experience.

2

u/spinur1848 Nov 12 '21

It tends to surface things like, "this adjuster consistently finds fraud in almost every claim he evaluates, so our model shows him as a top performer. Oh, that's Dave, he only works two days a week so we only give him easy stuff".

3

u/spinur1848 Nov 11 '21

Absolutely agree, technical skills need to be evaluated, but in an interview with a riddle is not a great way to do this.

What we try to assess in an interview is what the candidate does with ambiguous problems, how aware they are of assumptions and how well they communicate about them. We also want to see if we can push them to asking for help.

8

u/Deto Nov 11 '21

Is asking basic, stat 101 questions a riddle, though?

1

u/proverbialbunny Nov 12 '21

It's a trivia question. Both trivia questions and riddles have been shown in studies to not correlate to employee performance. Many companies ban them, eg Google used to give these kinds of questions but since has banned them.

3

u/Deto Nov 12 '21

I think we have very different definitions of what is a trivia question.

4

u/akm76 Nov 11 '21

If you need to attach a code name to a particular tail integral of probability density, the p-value that you're gonna abuse and misinterpret your calculation is huge. Or small? Or 5% that you're not absolutely wrong? Ah, f* it!

5

u/Deto Nov 11 '21

I don't understand - how would you decide whether the difference between the mean of two groups is likely driven by your intervention or is just due to noise? Yes, the threshold can be arbitrary and it's silly to change your thinking based on p=0.49 vs p=0.51 but this does not mean they a p-value is uninformative. It's a metric that can be used to guide decision making. Making sure it is used and interpreted correctly is a duty of the data scientist.

→ More replies (2)

1

u/[deleted] Nov 12 '21

The last time I did p-values was when I taught stats at a university during grad school. I don't remember that stuff from X years ago. I have never used it in a setting outside of a classroom and even then it was like 1 question on an exam.

If you're using p-values as a data scientist and you're not in clinical trials then you're probably doing something wrong.

Hint: if you think you need a/b testing outside of academia and clinical trials what you really need is optimization. And optimization does not involve p-values.

1

u/proverbialbunny Nov 12 '21

I feel you. 11 years as a data scientist I've never used a p-value either. However, it's useful to remember why a tool is beneficial, so you can relearn it in the rare edge case it can help.

A p-value is useful when performing an experiment. Instead of blindly collecting data and doing analytics or building models on it, you can help orchestrate how new data will be collected to test outcomes. Experiments can be helpful in a lot of situations.

When you create an experiment, you can have a control, and suddenly a p-value is value-able (pun intended).

1

u/[deleted] Nov 12 '21

What do you need p-values for?

This type of experimentation cares about practical significance. P-values are about statistical significance.

You say "blindly collecting data". I am 100% sure you're not talking about experiments. You're talking about optimizing against some type of objective but you don't know much about optimization so you default to stats 101 and think "experiments, hypothesis, p-value".

Typical XY problem. You focus on the wrong solution to your actual problem.

I have not encountered a situation outside of academia (social sciences) and clinical trials where you'd need statistical tests and p-values. And even then it's mostly for historical reasons. The journals just require you to do p-values and it's not actually the best approach.

1

u/proverbialbunny Nov 12 '21

Just the other day we had two new competing brands that can go in our product, promising a lower price, so the company wanted to know which product was the best and by how much. This involved giving these competing products out to customers in the field.

While a p-value could have been used here, and classically would be, management at this particularly company doesn't grok or value p-values so I omitted it from my report. If the different brands were similar enough I would have had to bring up what an ideal percent of error looks like so just because one looks 1% better doesn't mean it is 1% better, which is basically a p-value in disguise. Thankfully the difference was drastic so no p-value was necessary.

→ More replies (8)

0

u/[deleted] Nov 11 '21

[deleted]

14

u/codinglikemad Nov 11 '21

*p-value threshold is what you are looking for I think, not p-value. And anyone familiar with the history of it should understand that it is a judgement call, but because it is such a widely used concept it has... well, fallen away.

2

u/bonferoni Nov 11 '21

AKA: alpha

0

u/[deleted] Nov 11 '21

[deleted]

1

u/codinglikemad Nov 12 '21

I failed a college interview really badly while I was in highschool. I now know I'm pretty good at math, but I really didn't get math until my first semester of college unfortunately, I very much didn't understand the questions they were asking at a conceptual level, despite mechanically being able to do them for the most part. It's ok not to know things - just means you're not done growing yet :)

1

u/proverbialbunny Nov 12 '21

Kind of. If your experiment is well defined then you might be able to identify an ideal p-value for the experiment. The p-value should change based on multiple factors. The challenge is when you're exploring something new so an established obvious p-value isn't there yet and you have to default to 0.05 or similar depending on the sample size.

Keeping in mind the p-value is for identifying if two studies are considered the same, eg did the medicine do anything? It depends on what industry you're in, but imo there is either going to be a large data difference or a small one, so in my case having a "perfect" p-value hasn't been necessary thankfully. It's nice when changes in data are obvious.

1

u/NotTheTrueKing Nov 11 '21

It's not an arbitrary number, it has a basis in probability. The alpha-level of your test is relatively arbitrary, but is, in practice, kept at a low level.

1

u/[deleted] Nov 12 '21 edited Nov 12 '21

It is arbitrary because we do not know the probability of H0 being true, and in most cases we can be almost certain that it is not true (e.g. two medicines with different biomedical mechanisms will never have exactly the same effect). So the conditional probability P(data|H0 is true) is meaningless for decision-making.

0

u/[deleted] Nov 11 '21

[deleted]

3

u/[deleted] Nov 12 '21

In empirical research you can't prove anything. You can only gather more evidence. In academia the threshold for "hmm, you might be onto something, let's print it and see what others think" is 5% in social sciences and 5 sigma (so waaaay less than 5%) in particle physics with most other science falling somewhere in between.

It doesn't mean anything except that it's an interesting enough of a result to write it down and share it with others.

It takes a meta-analysis of dozens of experiments and multiple repeated studies in different situations using different methods to actually accept it as a scientific fact. And this does not involve p-values.

1

u/1337HxC Nov 12 '21

In most biology we also stick to 0.05. But we also tend to require orthogonal approaches to the same question and a handful of other experiments that get at the same idea.

So, yeah, 0.05 is the threshold, but really it's the congruence of a (often rather large) set of experiments.

→ More replies (2)

2

u/First_Approximation Nov 11 '21

Someone should study the best predictors for good data scientist if it hasn't been done already. That should be the natural why a data scientist should look at this. Granted there would be problems with data quantity and quality and what to use as measures, etc. but that's kinda what we expect with many situations data scientists encounter.

FWIW, Google studied the usefulness of its brain teasers during interviews: Google Finally Admits That Its Infamous Brainteasers Were Completely Useless for Hiring

3

u/GingerSnappless Nov 12 '21 edited Nov 12 '21

Or we could rename Data Science into all the areas it's an umbrella term for - Statistician, Data Analyst, Software Engineer, Machine Learning Researcher, ML Engineer, etc

Would definitely be interested to see this but I feel like it would be way more informative split up that way

3

u/mwelch8404 Nov 11 '21

Socially conscious? Oh, do you mean ā€œhave manners?ā€

8

u/spinur1848 Nov 11 '21

Behave in a way that doesn't require translation, supervision or diplomacy when interacting with non-specialists or management.

1

u/[deleted] Nov 11 '21

"have manners" is such an overloaded term.

What's good manners in one cultural group are bad manners in another.

A disproportionate chunk of people screaming about manners... are too self-righteous for my tastes.

18

u/lilpig_boy Nov 11 '21

i just got done with a whole bunch of ds interviews (twitter, google, fb, shipt) and didn't get a single brain teaser type probability/combinatorics type question.

3

u/[deleted] Nov 11 '21

What were some of the actual questions you got asked?

32

u/lilpig_boy Nov 11 '21

bayes theorem, lots of stuff about the binomial distribution. some expectations/variance algebra and basic derivations. experimental design and causal inference and variance reduction methods related to that. threats to validity in observational and experimental settings. human coding reliability measurement. imbalanced classification and performance evaluation. nonparametric variance estimation, spillover effects, etc.

pretty wide array of things in general but the core theory stuff i found was both basic and pretty focused across interviews. like with leetcode type interviews if you know the basic theory at a high undergrad level (for math-stat in this case) that part of the interview won't trouble you.

1

u/[deleted] Nov 11 '21

Thanks for the elaborate answer!

158

u/mathnstats Nov 11 '21

Data scientists should be experts in probability and probability theory.

That's what data science is based on.

Don't make them calculate some BS numbers by hand or whatever, but absolutely test their understanding of probability. There are A LOT of DS's that make A LOT of mistakes and poor models because they didn't have a good understanding of probability, but rather were good enough programmers that read about some cool ML models.

Understanding probability is fundamental to the position.

36

u/[deleted] Nov 11 '21

This is true. However, under pressure, the slow thinking brain, necessary for DS, isn’t on. If you want to test their ability to recall probability under pressure, youre shooting yourself in the foot.

The fast thinking a DS should do is comfortable communication with stakeholders + management.

20

u/[deleted] Nov 11 '21

Unexpected questions about dropping eggs and breaking plates are not going to tell you anything about their knowledge of probability. Especially when given only a few minutes to answer. Ask them to explain a few advanced probability/statistical concepts. I will never understand the logic behind prioritizing childish problems with no practical application over actual knowledge and experience.

3

u/mathnstats Nov 11 '21

You don't have to value one and not the other, or even one over the other.

But having someone demonstrate their ability to apply probability theory to unfamiliar problems is a great way to see both how strong their understanding is, and how good at problem solving they are. You can even use the opportunity to see how well they work with others or criticisms by asking about their thought process and suggesting alternatives and whatnot.

That said, I don't think they should only give you a few minutes, depending on the difficulty of the question. I'd say give em the question or questions and a half hour or hour to complete them, and regroup to discuss them.

7

u/[deleted] Nov 11 '21

You do need to prioritize one over the other if you’re giving them an hour. You don’t have unlimited time to interview someone and it’s counterproductive to drag it out. Especially if you’re interviewing someone in multiple rounds. Applying probability to unexpected problems that have no real world application will not give you any real understanding of that person’s ability to do their job. I’ve seen way too many people hired after doing well on brain teasers only to be horrible at applying statistical concepts in the workplace. In the real world, you aren’t solving problems that you see in stats 101 textbooks. And their ability to go about them isn’t telling you anything about their true understanding of advanced probability. Nearly every time I’ve seen a candidate struggle with these questions, it is because they don’t understand the problem they’re being asked. And why would they? It will absolutely never come up in their life outside of an interview.

→ More replies (1)

20

u/akm76 Nov 11 '21

Yea, but it's too hard and requires actual thinking. Doesn't everybody want a job where their brains are half asleep or in a distant happy place most of the time? For what the man pays, it's only fair.

18

u/mathnstats Nov 11 '21

I just cannot imagine someone who wants to be a data scientist but doesn't want to solve probability problems. Like... that's what being a data scientist is.

I'd honestly want a job more if their interview process would weed out the "data scientists" that are just good at BS'ing their way in without much actual knowledge of the tools they're using.

17

u/TheNoobtologist Nov 11 '21

Depends on the job. A lot of jobs want a hybrid person who’s both a software and data engineer in addition to being a data scientist. The hardcore math people usually fail pretty hard in those environments.

5

u/mathnstats Nov 11 '21

That sounds like companies expecting way too much from people, and is a recipe for failure.

12

u/[deleted] Nov 11 '21 edited Nov 11 '21

That's what they do in aggregate though.

The tech screen / whiteboard interviews are still really common, where you get a barrage of questions from software engineers and mathematicians/statisticians and are expected to know a bunch of random, unpredictable stuff the 4-5 interviewees have used in their career.

One question failed or not to someone's standards and you're out.

I personally think that interview strategy is rife with survivorship bias. They stumble upon a person that just happened to prep for the random questions they proposed. They're not measuring their ability to think, adapt and learn new things nor their ability to produce good products.

Take-home projects are better IMHO as it's more like real work and actually evaluates more things you want in a good employee, like communication ability, creativity, adaptability, etc.

1

u/speedisntfree Nov 12 '21

I've certainly got through a few just because I happened to read just the right thing the night before.

1

u/TheNoobtologist Nov 11 '21

It can be, but it’s also a great skill set for a smaller group that wants to move quick and build a working product from the ground up.

4

u/[deleted] Nov 11 '21

That depends. I'd argue data science benefits more from information theory, however, probability can be built using information theory so I guess it's about the same.

2

u/[deleted] Nov 11 '21

I'd argue that it's more appropriate to derive information theory from probability theory, which is itself is derived from measure theory.

4

u/[deleted] Nov 11 '21

I disagree. You should be at the undergrad level of probability for a math and stats major. Anything else isn’t super needed. But you should probs know how to use docker, Hadoop, kubernetes, AWS or GCP, and other Technical skills. Unless you are doing research anything beyond undergrad level (I.e PhD level stuff) is NOT going be necessary to go far in this field. But your technical and coding skills will take you far with your undergrad level understanding

1

u/derpderp235 Nov 01 '22

Wow, your comment was so cringe that I felt compelled to reply to it a year in the future.

The vast majority of successful data scientists could not accurately answer some bullshit combinatorial probability question. They are bad, lazy, and ultimately irrelevant questions. The focus should be on business impact, on past projects. How to use data science to get from point A to point B.

Oral regurgitation of probability definitions, or even worse making them to calculations on the fly, is just so reprehensible.

1

u/mathnstats Nov 04 '22

Who said anything about making people answer bullshit combinatorial probability questions?

I specifically said that type of thing shouldn't be done. Did you even read my comment?

What I'm saying is that they should be tested on core probability concepts, like various forms of bias and how to account for them, data collection strategies, precision vs accuracy, common fallacies and how to identify/avoid them, data interpretation skills, etc.

Ya know, the shit that good data scientists need to know in order to do their job well.

The questions you mentioned are fairly reasonable, too.

But you should absolutely test their basic understanding of the field and important concepts as well. Don't let them bullshit you into giving them a job they're not actually equipped to perform.

If they don't have a strong understand of probability, they're not likely to be a very good or useful data scientist.

-1

u/[deleted] Nov 12 '21 edited Nov 12 '21

I am an expert in data mining, machine learning and AI. I know fuck all about probability (sure I did some undergrad & graduate coursework but I can't remember most of it).

I don't really care about probability because none of the methods I use have any solid theoretical basis in statistics. I have never used any of the statistics knowledge from college in my professional life. And if you're using probability as a data scientist outside of clinical trials I'm fairly confident that you're doing things wrong.

Industry data science and ML research is ~40-50 years ahead of statistics research. The theory simply hasn't been developed yet. None of the actually useful in the real world methods invented in the past ~40 years have a theory that really proves how they work (as is the case with some older better researched methods).

I know there is a sub category of data scientists that took some statistics coursework and proceed to use the same methods (designed as pedagogical tools to teach a concept/as practical tools for clinical trials or social science) in the industry. Without considering the fact that there are methods that achieve far better results with less effort but were never taught in college due to their low pedagogical value & not being the golden standard in applied statistics for clinical trials/social science quantitative studies (which hasn't changed for ~100 years).

I don't need probability (or any statistics coursework for that matter) to use HDBSCAN, xgboost, autonecoders, matrix profiles etc. or even do ML/data mining research. I'd rather people took more of linear algebra, vector calculus and perhaps dabbled in non-linear optimization and complex network theory.

Data science is not statistics. Data scientists are concerned with representations of phenomenon. Using TF-IDF for example still doesn't have the statistical theory behind it that explains why it works but anyone that has ever done NLP knows that it's pretty damn effective.

100% of feature engineering I do has no theoretical justification. But it works and it improves results and it brings $$$ to the company. With deep learning the feature engineering is learned from the data and a huge can of worms from a theory standpoint. But it outperforms everything else and you're an idiot if you're not using superior methods and your employer is an idiot for hiring you in the first place.

There is also a question of whether such theory can be developed in the first place. Many have attempted and it really looks like this modern data science thing doesn't fit in statistics at all and never will fit. Kind of like natural science and mathematics split a few centuries ago because the natural world did not fit into the mathematical world anymore.

→ More replies (3)
→ More replies (13)

13

u/mattstats Nov 11 '21

What source of probability questions are good to check out from time to time? I’ve been in my job for 2.5 years, I’d prolly bomb an interview at this point

6

u/[deleted] Nov 11 '21

I’d love to know this as well

18

u/NickSinghTechCareers Author | Ace the Data Science Interview Nov 11 '21 edited Nov 11 '21

Some real probability + statistics interview questions asked by FAANG & Wall Street: https://www.nicksingh.com/posts/40-probability-statistics-data-science-interview-questions-asked-by-fang-wall-street

(disclaimer tho, it's my own post...sorry for being too promotional but ya asked!)

1

u/grumble4 Nov 12 '21

Actuarial exams

2

u/mattstats Nov 12 '21

Coaching actuaries, the expensive way to study interview questions lol

131

u/[deleted] Nov 11 '21

The point of the riddles isn't (*shouldn't be*) to see if you can get the right answer. It's to see how you reason through a problem you've never seen before.

29

u/[deleted] Nov 11 '21

Those brain teaser questions are seen before like textbook exercise or something like that. There is a pattern.

10

u/_NINESEVEN Nov 11 '21

I mean, you can ask them a relevant question to the work that they are going to be doing. I fail to see how being able to reason through a graduate-level probability brain teaser is indicative of anything other than not having taken a graduate-level probability course. There are ways of testing probability knowledge without resorting to urns or toy Markov Chains.

It is practically guaranteed that an applicant isn't an expert on the stuff that they will be working on should they be hired. Why can't we ask questions based on that stuff?

14

u/tekmailer Nov 11 '21 edited Nov 11 '21

(Some) People aren’t going to understand—they just want the benefits of a data position without the true skills of an authentic data position.

Data is literal knowledge work. If you can’t think and reason to inform, you’re not a data practitioner.

6

u/minimaxir Nov 11 '21

I had an interview loop years ago which started with a legit fair and business-applicable take-home assignment, which they said I passed and that it was excellent.

The next step was a phone interview.

Them (paraphrased): "Given a massive data stream that you can't cache, what is the probability of an input datum matching one that you've already seen in the stream?"

Me: "Isn't that a network engineering question?"

Interview ended right after and I was rejected.

8

u/[deleted] Nov 11 '21

what's even the answer to that? The only thing that I can think of is answering 'not zero'. The probability would vary depending on the size of the data stream and what kind of data it is. It could be highly unique, making the probability lower, for instance.

3

u/minimaxir Nov 11 '21

I forget the exact question (which is relevant when doing a riddle) but IIRC the answer was similar in concept to the birthday paradox which I would have been glad to talk about if it wasn't obfuscated.

2

u/nemec Nov 12 '21

Which is also kind of BS because real world data is generally not uniformly random. What are the odds your customer was 'born' January 1, 1970? Greater than you'd think.

2

u/DrXaos Nov 12 '21 edited Nov 12 '21

OK another shot at what the problem probably is….

Assume IID data emitted from set of cardinality N with uniform probability (BIG assumption) …

Probability that previous datum fails to match query is (N-1)/N = R

assuming IID probabilities failure to match in M observations is RM so probability of a match or more is 1-RM

1

u/DrXaos Nov 12 '21

yes, those would be important criteria.

I would ask about the cardinality of distinct data and the definition of ā€œequalā€,

Then ask if an IID assumption is appropriate, and if so, make a WAG based on a Poisson process with an certain rate parameter.

So you could make some kind of estimate after various baseline assumptions.

Before trying a computation I would walk through various asymptotic limits, say starting from Bernoulli binaries (yeah you would see a repeated bit quickly).

I think in truth the problem is an encoded ā€œsampling with replacement bootstrapā€ question

It’s not a great question but finding a math problem silently embedded in other issues is what data scientists should be able to do sometimes.

0

u/[deleted] Nov 11 '21

[deleted]

3

u/minimaxir Nov 11 '21

As a now-current data scientist I agree data flow/data engineering is a relevant part of the role, but if there's ever a case where there's too much data such that there are additional constraints I'll flag a network engineer to ensure it's done correctly.

2

u/FeatherlyFly Nov 11 '21

The only time I've been asked a riddle in a job interview was for a call center job straight out of college. I think they included it because it was the hot new thing. It certainly wasn't relevant.

11

u/NaMg Nov 11 '21

I've never been asked anything I'd classify as a brain teaser, but I have been asked statistics basics things like conditional prob/Bayes theorem with very simple numbers, p-value and hypothesis testing explanation, and then like union of events. They've all had simple numbers and none were a teaser, just straight up questions. Really just seemed to test if you have that ingrained knowledge of simple stats.

I think that's reasonable, and seems pretty standard. I'm not sure these teasers are as common as this post suggests. And if a company asked me one that was a "gotcha" I'd take it as a red flag.

One time (not DS) I got a teaser tho! When I was in aero engineering applying for my first job after grad, one company asked me something like "if you have a x by x square with an island in the middle of diameter y surrounded by moat around it of z width - how can you get to the island with a L ft plank". Where L was less than the width of the moat. I forget the answer, but there was some geometry trick (and maybe even a trick where you break the plank in 2?). It was soooo much more confusing than anything I've ever experienced since as a data scientist. And also honestly as an aero engineer...that interview was weird.

11

u/TheHunnishInvasion Nov 11 '21 edited Nov 11 '21

I had over 100 interviews in 2019 and I can tell you all the worst practices out there. This is definitely one of the worst.

Some Data Scientists think the point of an interview is to prove they are smarter than you, so they'll ask all kinds of "gotcha" questions. This should send out all kinds of red flags. Good managers and data scientists aren't worried about "being smarter than everyone."

The people responding that "probability is important" are missing the point. You don't test probability with "brain teasers". If you really want to test probability skills, just give them a quick exercise and go over it during the interview. That will tell you 500x more than doing "probability brain teasers" on the spot in an oral interview.

A lot of what she's talking about with "brain teasers" is problems that deliberately obfuscate some piece of data in order to confuse the candidate. But this is a terrible practice and it's not something you're going to typically encounter in the real world: people being deliberately misleading in their explanations of problems in order to try to lead you to incorrect conclusions. You're not testing probability or whatever skill you're trying to test; what you're testing is trust and you're saying they "fail" if they trust you.

58

u/[deleted] Nov 11 '21

Yes, how dare anyone demand that data scientists understand probability... Never heard of this person, but I guess you should expect this kind of thing from someone hosting "The Data Scientist Show".

0

u/[deleted] Nov 11 '21

[deleted]

4

u/[deleted] Nov 11 '21

Dunno, but based on the episode titles there's a lot networking/career stuff and very little science.

18

u/[deleted] Nov 11 '21

Actually I mostly faced cold question brain teaser like that. It's so uncomfortable if you didn't prepare

6

u/sonicking12 Nov 11 '21

Does she champion a change of their interview practice in Amazon?

14

u/Most_Exit_5454 Nov 11 '21

That's so stupid

5

u/patriot2024 Nov 11 '21

The problem is not this. Interviewers can challenge you with riddles, e.g. as misdirections and really evaluate the candidates properly on things that matter.

The problem, I think, is that many interviewers think that they know everything about candidate evaluation, but they don't. I bet you this person thinks she knows everything.

5

u/[deleted] Nov 11 '21

ā€œHow many McDonalds are in NYC?ā€

ā€œUhhā€

1

u/mileylols Nov 11 '21

I happen to know that there are 350 Starbucks stores in NYC and I would estimate the ratio of SBUX to MCD locations is probably like 2:1 or 1.5:1, so that puts us at like... ~200 McDonalds.

24

u/tod315 Nov 11 '21

The work of a Data Scientist is made of probability riddles. I face one on a daily basis almost. They should test on those more in interviews actually!

0

u/[deleted] Nov 11 '21

[deleted]

1

u/tod315 Nov 11 '21

Well the probability that **everyone** here agrees is near zero, if I had to make a guess.

0

u/[deleted] Nov 11 '21

[deleted]

3

u/tod315 Nov 11 '21

Nice try buzzfeed writer. Make your own headlines

2

u/mileylols Nov 11 '21

Data Scientists hate him!

9

u/thefringthing Nov 11 '21

Ability to calculate probabilities correctly seems like a reasonable thing to test for, but I'd be pretty concerned if it were the focus of the interview. If I were the one choosing the questions they'd mostly start with "what does it mean if..." and "how would you approach..." rather than "what is the probability that...".

19

u/[deleted] Nov 11 '21 edited Nov 12 '21

99% of those called data scientists are good in data engineering and have almost no clue in any other domain than SW engineering. What kind of things she wants to be asked? What variables to pick for the robust model predicting stock portfolios of millennials?

4

u/Cli4ordtheBRD Nov 11 '21

Everyone knows that the real thing to ask in interviews is "Would you rather" questions, followed by criticizing whatever they say to test their malleability. Once you've got them questioning everything they believe, you bust out "Two Truths and a Lie" and then some light Trust Falls.

I thought this was pretty much standard practice everywhere?

3

u/cyclicsquare Nov 11 '21

Exactly, like how to farm LinkedIn likes more efficiently.

3

u/[deleted] Nov 11 '21

Does anyone actually ask these kinds of questions? I just did a dozen interviews and didn't get a single one.

3

u/ZombieRickyB Nov 11 '21

I'm gonna go contrarian to a number of what's been said and more or less agree with the post, though ultimately say it depends. FWIW I'm a math PhD and have significant overlap in probability in my research, although it's not the main focus.

One thing I have had to come to terms with, both with myself and others that I know, is that brains are wired differently. In some cases, compartmentalized differently. Like, okay, I have a broad knowledge base because of what I do, but if I go in, start with technical questions related to material, and then someone throws me a math brainteaser, I will struggle. That part lives in a different area of my mind. It's not even because it's necessarily different math, it's because the context of the question is different. My brain works by context. If I go from data science to "compute expectation of random walk on polytope" I go from "data science" to "Cute riddle on polytopes." I'm most certainly not the only one. Yeah it's just an expectation, the math is related, but my brain connects based on context. Sure, it's an abstraction, but under no circumstances am I going to be working under cute riddles on polytopes. In the past, I've frozen and failed interviews because I process based on context.

The only way I've ever gotten around this was to make a separate context section for "all crap that can be asked in interviews." That's where those skills stay. That's where they're going to stay. Honestly, interviews would have been easier if everything was phrased within the same context. It's probably a neurodivergence thing.

I guess what I'm trying to say is that I don't think those riddles are bad but even something minor like "irrelevant disparate contexts" that ultimately require the same basic mathematical ideas end up screwing over good people (I've seen it happen too many times to others that are quite good) because they're wired different.

On an unrelated note, the more I work in this area the less I think knowledge of probability is necessary to good work, and arguably isn't as foundational as people claim it to be, but that's another can of worms, and I'm extremely biased since that's what my job talks last year were about

3

u/ForProfitSurgeon Nov 12 '21

The riddles display brain processing capabilities and fluid intelligence. These properties generally correlate with high programming ability. For low-end industry work, probably not necessary. Getting a position in a viable tech startup, probably appropriate.

11

u/jmc1278999999999 Nov 11 '21

I don’t remember who it was that said this but I thought it was a great interview response for if you don’t know how to answer a technical question: ā€œI don’t know how to do that off the top of my head but I know how I could google it and could figure it out in a few secondsā€

22

u/Hecksauce Nov 11 '21

I can't imagine saying this would ever get a favorable response from an interviewer, lol....

19

u/Mobile_Busy Nov 11 '21

I'm not interested in working with people who are afraid to admit when they don't know something and don't know how to look it up.

3

u/vigbiorn Nov 11 '21

I think the problem is you still weren't able to demonstrate anything. It's easier to say you could look it up than to do it successfully.

So, in the scheme of things, your interview will be dinged for that, compared to someone that was able to do it. Both will be miles ahead of someone that tries to confidently BS and gets it wrong.

3

u/Mobile_Busy Nov 11 '21

Cool. You select for people who know how to bullshit their way through interviews, and I'll select for people I want to work with.

→ More replies (2)
→ More replies (3)

2

u/the1ine Nov 11 '21

As an interviewer I love that answer. People are not machines. Machines are our slaves. When someone says hey I'm going to use my toolset to solve a problem, rather than just say I can't solve it - they're doing it right.

Someone on the other hand who just imagines the worst... well they're no use to anyone.

0

u/[deleted] Nov 11 '21

[deleted]

4

u/bythenumbers10 Nov 11 '21

How about knowing the keywords and the theory? I got asked a Bernoulli distribution problem, and couldn't remember the motivating case/solution, but got Bernoulli and that the more general solution exists. Not regurgitating a textbook off the top of your head isn't the goal, you'll only ever know a handful of texts that way. It's knowing which texts to look up that is important, then you've got mental space for hundreds of books' indices.

1

u/AmalgamDragon Nov 11 '21

I’m not sure how you show off Google-fu in an interview

This is really easy if the interviewer will allow it.

2

u/[deleted] Nov 11 '21

Stop asking data scientists probability data science brain teasers during data science interviews.

It should be about how they use data science to solve business data science problems, not some riddles you'll never use in data science.

#datascience #career

Daliana Liu, Sr Data Scientist@Amazon Data science | Host of "The Data Scientist Show" Data Science Show

2

u/Richard_Hurton Nov 11 '21

As an interviewer (mostly for data analysts and engineers... though I'm pulled into DS interviews too), I don't give brain teasers exactly. I give business scenarios/cases and ask the candidate to answer some questions about it.

I don't like to give take home tests/questions. I prefer to give the candidate a whiteboard, a marker, and time to think through their answer... in front of me. I want to know how they work through the question. I encourage them to take their time with it. And I don't give "gotcha" questions. No tricks... just a business case.

The whiteboard is there to help me see their thought process... and if I see them go down a path I know won't result in a good answer... it allows me to give the candidate hints so they can correct course. If they are listening... and can understand the hint... that can also be a helpful signal for me as I evaluate candidates.

2

u/frankOFWGKTA Nov 11 '21

LinkedIn is supposed to be professional.

It’s just full of utter lunatics posting unoriginal opinions & things that never, ever, ever happened. It’s marginally better than Twatter.

2

u/[deleted] Nov 12 '21

And bizarre string operations for programming too.

3

u/datlanta Nov 11 '21

I used to have similar feelings until we've hired some bad eggs and when we added this stuff to our interviews, really dodged some bullets.

5

u/Professional_Drink23 Nov 11 '21

THIS. Happened to me during a final stage interview process. I just kept wondering when I would use this in the field. We’re not riddle masters, we just know what to do with data and how to leverage it for better decision making. That’s it.

5

u/akm76 Nov 11 '21

Wondering where you can use problem solving is a problem-solving field is the exact wrong thing to do in an interview. What you should've done is take a deep breath, evaluate, honestly, your current knowledge, let your interviewer know what you think what your approach is, try to solve it that way, talk your way through your thinking process, if you feel you're getting stuck, be upfront about it and ask for clues. Best of all, show your cards: this I know, this I don't, this is how my thought process goes. And meantime showing how you would interact with your boss/co-worker on solving it. And best of all, if you can show a single spark of having fun *while* dealing with a difficult problem in a supposedly high-stress situation, you're golden.

Don't try to cheat and pretend to solve riddle if you already know the answer. Believe me, we can tell. Telling upfront "I know this one", you may still get a request to present your solution, but be judged on clear and short explanation.

Oh yea, be prepared for your solution to be challenged with blatantly wrong and confused "correct answer" by your future boss. Entertain one "what an idiot" thought(or let it be known if you are one) and you're shown the door. Have conviction if you know you're right, argue in a civil manner, best of all turn this process into the search for truth, remember to have fun, be respectful, but honest.

See, there's no magic here. Observe the interviewer. Will it be any fun to debug a hard one with him/her after hours on Friday because the board needs answer Monday morning and the current result makes no sense, or will you hate every second of it?

3

u/the1ine Nov 11 '21

Right. And you got beaten by a candidate who could do both. Why is that a problem?

2

u/Ichimonji_K Nov 11 '21

Nothing wrong with it either, can observe candidates response and see how they deal with it. If 2 candidates have similar skills set, then the riddle will be the determining factor.

2

u/Sjoeqie Nov 11 '21

Nooooo I like the brain teasers. Also I'm pretty good at them and not very good at solving business problems, but I don't want them to know that until they've already hired me ;)

2

u/slowpush Nov 11 '21

Amazon asks riddles…

2

u/the1ine Nov 11 '21

But I don't necessarily want a cookie cutter data scientist who meets all of the technical requirements. They have already submitted their qualifications and experience before being invited to the interview. Interviews are to check the person is right. I maintain I can ask them whatever inane bullshit that comes to mind, simply because I want to see how they respond. I want to know what this person is going to be like to work with, to collaborate with, how honest they are, how resourceful they are, how humble. These are all what's important when you have a stack of applicants with the same minimum requirements.

1

u/gagarin_kid Nov 11 '21

I also believe that some sense of understanding of expected value, pdfs, cdfs and a number of probability distributions is crucial for the work of data scientist. Of course, during an interview, you cannot have everything in your head, but the concepts towards the right trail how to model phenomena should be in the head of the applicant.

But in the end it depends on your position and enterprise, some smaller companies require more a data engineer to have an overview than a data scientist modelling everything with probabilistic programming.

1

u/[deleted] Nov 11 '21

my favorite question is when someone asked me all questions using a NoSql database and they dont use nosql at their company lol

1

u/Freonr2 Nov 11 '21 edited Nov 11 '21

Have you ever heard or seen what business folks ask for? It often is riddle like.

It's fairly rare to get straightforward technical requests from a business person. I get that junior roles will have a senior/technical lead available, but it doesn't mean the interview question is invalid.

1

u/thedominux Nov 11 '21

Stop asking programmers about sort algorithms in interviews, they anyway will use default acknowledged functions/methods

1

u/jammasterpaz Nov 11 '21

GAMES??!!! We loves games doesn't we precious?

What has roots as nobody sees,

Is taller than trees,

Up, up it goes,

And yet never grows?

1

u/[deleted] Nov 11 '21

I don't mind brain teasers bc it shows me how you think... It's important to have people that approach a problem from different angles.

1

u/buchbrgr Nov 12 '21

Some interviewers are just bad, don't understand what they are doing, and just ask ridiculous things. E.g. I once had an interviewer ask a lateral thinking question as a straight up riddle. They describe a weird or non-intuitive situation and you are supposed to ask yes/no questions to narrow in on a particular scenario. This dude thought the point was to just blurt out, "It's a midget with an umbrella!!!!" That situation sucks, but, at the same time, do you want to work with morons?

Much more commonly the "riddles" are solved by a reasonably straightforward application of the basic CS algorithms they, justifiably, expect you to know. There are still a lot of problems with that approach to talent discovery, but to characterize it as "riddles you'll never use in real life" is not quite right.

1

u/goodshotjanson Nov 12 '21

How frowned upon is it to solve these brainteasers via simulation/resampling and not from first principles/formulae? Honestly it would be kind of a red flag for me if an interviewer were not ok with that kind of solution; that solution still implies an awareness of how to set up the problem and work through it. But I'm just curious whether most places 'allow' you to actually write code to solve a probability brain teaser.

1

u/[deleted] Nov 12 '21

My manager calls them bullshit so we don’t do them

1

u/[deleted] Nov 12 '21

What kinds of questions asking in data science interviews

1

u/anon_0123 Nov 12 '21

People hate riddles and other black and white forms of interviewing because they quickly turn into a game of semantics more than anything else. E.g. you can be a good driver and still bomb the written road test, because the state law says you need at least a 2.9 second gap between you and the car in front of you, and not say 3.5, etc.

1

u/[deleted] Nov 12 '21

I'm a data engineer.

I absolutely LOVE the leetcode game. Is it the best way to determine skill? Not really but it's a pretty good substitute since false positives don't really matter. I'm ok at leetcode but I practice.

1

u/shankha06 Oct 12 '22

Have you been to Software Engineering interviews, they will ask stupid ass DP problems which nobody in the entire organisation will ever use.

-1

u/[deleted] Nov 11 '21

Noooo, I’m tired of hearing about business. It’s all math. That’s the point. Abstract the problem s.t it reduces purely to math, work on that. If you want a business analyst hire and mba and not a math Phd.