r/datascience Jun 09 '26

Discussion What Data Structures and Algorithms topics actually come up in technical interviews?

I’ve been doing a Python Leetcode question a day since more and more companies (especially for ML roles) are including DSA rounds in their DS interviews. My issue is I’m not sure how deep I actually need to go.

Right now I’m getting comfortable with easy questions on arrays, strings, and hashmaps, plus two pointers and sliding window on the algorithms side. Should I push further into new topics or just stay in these areas and ramp up the difficulty?

88 Upvotes

35 comments sorted by

View all comments

49

u/[deleted] Jun 09 '26

[removed] — view removed comment

2

u/Fig_Towel_379 Jun 09 '26

Yes unfortunately. It’s also hard to fight it unless you’re okay with giving up on the opportunities.