TwirlyDumpling
TwirlyDumpling

Rant:Why DSA is asked for Data science and ML interviews?

We all know how much time and effort it takes to cover stats, probability,classical ml & DL,and Genai. Also keeping up with the latest research papers.

I still don't get the rationale behind why companies are so fixated on asking DSA.

I failed a lot of interviews because of this ,started studying DSA,it might take me another 6 months to master it.

Should have been a backend dev, 😞So that I give more time on DSA and backend concepts.

Right now I am cursing my life.Since I study most of the time including weekends. No life whatsoever.

11mo ago
Talking product sense with Ridhi
9 min AI interview5 questions
Round 1 by Grapevine
SleepyRaccoon
SleepyRaccoon

I am a Staff DS at Walmart and 8 yoe. I am not a fan of hardcore DSA (the questions no one would be able to solve if they hadn't looked at it before)
But I would expect anyone in my team to know basic coding and all the DSA concepts, so should be able to solve basic questions.
You apply these concepts in DS solutions and execution too

PeppyMarshmallow
PeppyMarshmallow

I agree, am currently starting the prep. what areas should I explicitly focus on given interviews? am not sure if DP, Linked list like topics would be needed for ML interviews, and might not even leetcode mediums?

TwirlyDumpling
TwirlyDumpling

Yeah for companies like Walmart,google and Microsoft..etc to ask DSA along with ml rounds is justified, because they pay more and what you said is reasonable. But there are shitty companies that ask DSA at faang level along with ml rounds with low ball CTC.

ZoomyRaccoon
ZoomyRaccoon

What's DSA?

ZoomyBagel
ZoomyBagel
TCS10mo

Dark Souls Academia

TwirlyDumpling
TwirlyDumpling

Indeed Data structure, algorithms at leetcode and competitive level are dark souls of interview prep.

This reminded me that I had bought an elden ring game with dlc.I didn't even start the damn game, because of this..🙈

ZoomySushi
ZoomySushi
Adobe11mo

Actually there is variety in data science roles. If they are looking for someone who can also work on integrating models in a product then they are right to ask DSA and I know I am not cut out for the job. But this is rare, usually most of DS jobs should revolve around ML concepts, Python, SQL etc.

TwirlyDumpling
TwirlyDumpling

Yeah,but we never code in the job to the level that they ask in the interview. It's just companies following this toxic practice to ask DSA blindly. Looks like we ml folks have to study dsa,I just ask for an extra salary if recruiters say they have coding rounds, because we deserve every penny of it ,if we clear DSA and ML rounds.

DizzyJellybean
DizzyJellybean

I was of the same thought until my job required me to work on Model integration. DSA is a very good skill to have for a data scientist. It’ll be cherry on the cake if you have good programming skills apart from the ML and LLM skills.

BouncyKoala
BouncyKoala
Cisco10mo

Hey, what questions are they asking in DSA

TwirlyDumpling
TwirlyDumpling

Scenario based questions where you had to implement graphs to solve it.

SnoozyPanda
SnoozyPanda

I feel you!

Discover more
Curated from across
Software Engineers
by SqueakyPenguinSoftware Developer

How to get better at DSA?

I am a backend engineer with a 9 year exp. In my fourth company now. Started with 5 lpa, now at 31 Lpa. Mostly have worked in normal companies only. I am from one of the NITs. I am not good at DSA. Everytime I have to switch a job, my ...

FAANG
FAANG12mo
by SwirlyCoconutGojek

How much DSA preparation is enough?

I'm a backend engineer with 6+ YoE.

I have never had interest in solving DSA problems. I started off as being very bad at it- I did understand the technical details behind various data structures and algorithms, but never had that pas...

Data Scientists
by TwirlyDumplingData Scientist

Rant

I am an ML engineer working in a startup.

My current situation is horrible,I am constantly stressed about getting laid-off(My performance is good,I got promoted a month ago). I came to know that my company will probably lay people off t...

Top comment
user

Bro. Who ever asks for DSA for a MLE or Data Scientist is not good working for. So chill. I write to them that 'this ...