Hey, if you mean data structures and algorithms, I don't think they are absolutely necessary to know unless you want to interview for certain big tech companies as they used to quiz them in interviews also for data scientists (Google, Meta etc). If you want to get into it, I personally really liked www.crackingthecodinginterview.com/ and www.interviewcake.com/