what is the best coding problems I can practice if I want to get prepared for data science and machine leaning jobs in the companies not that big like FANG.
That’s a smart and practical approach — preparing for data science and machine learning jobs at non-FANG companies means you can focus on problem-solving and real-world coding, not just ultra-hard algorithm puzzles. Here’s a clear, structured guide for what kinds of problems to practice and where to find them:
Practice:
You don’t need deep graph theory or segment trees, but you do need:
| Topic | What to know (and why) |
|---|---|
| Arrays/Strings | Most common data types in datasets |
| HashMaps/Sets | Efficient lookup, frequency counting |
| Sorting | Custom sort logic for data pre-processing |
| Sliding Window | Time-series, streaming data |
| Two Pointers | Efficient comparisons, deduplication |
| Heaps / Priority Q | Useful in top-k problems, recommender systems |
| Binary Search | Useful in threshold finding, time optimization |
| Recursion / DFS | Tree-like data structures (JSON, XML, etc.) |
Recommended Leetcode Tags: