LeetCode Pattern Mastery Tips

Explore top LinkedIn content from expert professionals.

  • I spent 2+ years grinding Leetcode and learning DSA & problem-solving as a CSE student at BITS Pilani. If I had to start again from 0, this is exactly how I’d do it to get hired as a Software Engineer in 2025:  1️⃣ 𝗺𝗮𝘀𝘁𝗲𝗿 𝗰𝗼𝗿𝗲 𝗮𝗹𝗴𝗼𝗿𝗶𝘁𝗵𝗺𝘀 𝗯𝗲𝗳𝗼𝗿𝗲 𝗮𝗻𝘆𝘁𝗵𝗶𝗻𝗴 𝗲𝗹𝘀𝗲 ○ Before touching random Leetcode problems, I’d master core algorithms like: Binary Search, DFS, BFS, Sliding Window, Two Pointers, Recursion, Backtracking, and Dynamic Programming. ○ The goal isn’t just to “understand” these but to be able to implement them from scratch without hesitation. ○ I’d write each algorithm at least 5-10 times from memory until it becomes second nature.  2️⃣ 𝗳𝗼𝗰𝘂𝘀 𝗼𝗻 𝗽𝗿𝗼𝗯𝗹𝗲𝗺 𝗽𝗮𝘁𝘁𝗲𝗿𝗻𝘀, 𝗻𝗼𝘁 𝗷𝘂𝘀𝘁 𝘀𝗼𝗹𝘃𝗶𝗻𝗴 𝗽𝗿𝗼𝗯𝗹𝗲𝗺𝘀 ○The biggest mistake people make is solving hundreds of random problems without recognizing patterns. ○ 90% of interview problems fall into ~20 coding patterns. ○ Instead of solving 1000+ questions, I’d focus on understanding:    ►How problems within a pattern are similar.    ►What small variations make them different.    ►Which techniques help optimize them.  3️⃣ 𝗿𝗲𝗽𝗲𝗮𝘁 𝗽𝗿𝗼𝗯𝗹𝗲𝗺𝘀 𝗶𝗻𝘀𝘁𝗲𝗮𝗱 𝗼𝗳 𝗷𝘂𝘀𝘁 𝗺𝗼𝘃𝗶𝗻𝗴 𝗼𝗻 ○ Just because I solved a problem once doesn’t mean I’ll remember it. ○ I’d follow this reinforcement schedule for problems I struggled with: Solve it today, solve it again in 1 week and finally solve it again in 1 month. ○This is how I’d make sure I actually retain what I learn.  4️⃣ 𝘀𝘁𝘂𝗱𝘆 𝘀𝗼𝗹𝘂𝘁𝗶𝗼𝗻𝘀 𝘁𝗵𝗲 𝗿𝗶𝗴𝗵𝘁 𝘄𝗮𝘆 ○ When I can’t solve a problem, I’d first struggle with it for at least 30 minutes before looking at the solution. ○ Then, I’d:   ► Write out the solution from memory after understanding. ► Explain why it works in simple words ► (if I can’t explain it, I don’t truly understand it).   ► Look at alternative solutions to compare trade-offs.  5️⃣ 𝗯𝘂𝗶𝗹𝗱 𝗮 𝘀𝘁𝗿𝘂𝗰𝘁𝘂𝗿𝗲𝗱 𝗽𝗿𝗼𝗯𝗹𝗲𝗺 𝗹𝗶𝘀𝘁 (𝗻𝗼𝘁 𝗷𝘂𝘀𝘁 𝗿𝗮𝗻𝗱𝗼𝗺 𝗴𝗿𝗶𝗻𝗱𝗶𝗻𝗴) ○ Instead of jumping between random problems, I’d follow a structured roadmap like:  ► First 50-60 easy problems → Get comfortable with implementation.   ► Next 80-100 medium problems → Focus on pattern recognition & optimization.   ► Last 30-40 hard problems → Only after mastering the fundamentals.  ○ 150-200 well-selected problems are enough to crack most interviews.  6️⃣ 𝘀𝘁𝗮𝗿𝘁 𝗺𝗼𝗰𝗸 𝗶𝗻𝘁𝗲𝗿𝘃𝗶𝗲𝘄𝘀 𝗲𝗮𝗿𝗹𝘆 (𝗲𝘃𝗲𝗻 𝘄𝗵𝗲𝗻 𝗜 𝗳𝗲𝗹𝘁 𝘂𝗻𝗽𝗿𝗲𝗽𝗮𝗿𝗲𝗱)   ○ Simulating real interviews early helps with time pressure & communication skills.  ○ I’d start setting strict 30-45 min timers on problems to simulate interview conditions.  ○ I’d practice explaining my thought process out loud, since half of the interview is about communication.  (Bonus tip in the comments) ↓

  • Most people don’t fail in DSA because it’s hard. They fail because they try to learn everything instead of learning the right patterns. If you’re a fresher preparing for coding interviews, stop collecting questions. Start mastering patterns. Here’s the exact roadmap I recommend 👇 1️⃣ Arrays Core patterns you must know: • Two Pointers • Sliding Window (fixed and variable) • Prefix Sum • Kadane’s Algorithm • Hashing / Frequency Map • Sorting + Greedy • Cyclic Sort • Binary Search 2️⃣ Linked Lists Core patterns: • Fast & Slow Pointer • Dummy Node • Reversal (entire list / k-group) • Merge Lists • Pointer Rewiring 3️⃣ Stack & Queue Core patterns: • Monotonic Stack • Monotonic Queue • Stack for Previous / Next Greater • Sliding Window + Deque 4️⃣ Trees & Graphs Core patterns: • DFS (pre / in / post order) • BFS (level order) • Recursion • Backtracking on Trees • Dijkstra • Topological Sort • Union Find 5️⃣ Advanced Patterns • Binary Search on Answer • Greedy • Dynamic Programming ◦ 0/1 Knapsack ◦ Unbounded Knapsack ◦ DP on Strings • Heap (Top K, Merge K) • Bit Manipulation You don’t need 1000 problems. You need clarity on these patterns. Once you understand the pattern, 10 different questions start looking the same. That’s when preparation becomes smart. If you’re preparing for placements or switching jobs, save this post and follow for more such content ❤️

  • I recently had a chance to connect with a Sr. Software Engineer who cracked Google, Meta, Microsoft, and Amazon in the last 10 years of his career. He started at Amazon in 2015 and is now working at Facebook. I asked him one question: How should one start Leetcode in 2025? and got some pointers that I think would benefit everyone.  [1] Stop trying to “cover” Leetcode → The real game is not in “solving 1000 problems.” It’s in identifying patterns behind the questions (sliding window, backtracking, tree traversals, etc.) and understanding when and why to use each. → Each pattern unlocks 10–15 problems. Your goal: See a question and immediately recognize the pattern behind it. [2] Build a rock-solid DSA foundation → Before you even open Leetcode, deeply understand how and why core data structures (arrays, hashmaps, trees, heaps, graphs) work internally. → Don’t just learn how to use them, know their weaknesses, edge cases, and which real-world scenarios they solve best. → For every new topic, write your own implementation (e.g., your own LinkedList, your own Stack, your own Trie) from scratch once, just to internalize the mechanics. [3] Train yourself to break down problems, not just solve them → When you see a new problem, never code immediately. → Spend 5–10 minutes analyzing constraints, drawing diagrams, and “talking out” your approach. → Ask: “What are the edge cases?” “What would brute force look like?” “Can I spot an early optimization?” → In interviews, your ability to explain and reason before coding matters more than racing to a solution. [4] Use problem selection as a learning tool, not a confidence booster → Don’t just grind easy questions to feel “productive.” → Each session, choose a mix: 1 comfort-zone problem to warm up, 2–3 new pattern-based mediums, and 1 “stretch” hard problem, even if you know you’ll struggle. → Log why you struggled and what new pattern or trick you learned (keep a mistake log; review it every week). [5] Build mental maps of tradeoffs and “when to use what” → For every pattern you learn (e.g., sliding window vs. prefix sum, hash set vs. sorting for duplicates), write down:   → What’s the time and space complexity?   → When does this pattern break down?   → When is an alternative more efficient? → Building these comparison instincts is what sets apart those who “grind” Leetcode vs. those who think like strong engineers. Continued In Comments ↓ --- P.S: If you’re currently preparing for DSA, HLD, and LLD. Check out my one-stop resource guide: → https://lnkd.in/eYHSjbys ( 750+ students are already using it) This guide will help you with: - DSA, HLD, and LLD for interviews - good resources that I used personally - lots of problems and case studies for DSA and system design

  • 🚀 𝗟𝗲𝗲𝘁𝗖𝗼𝗱𝗲 𝗣𝗮𝘁𝘁𝗲𝗿𝗻𝘀 𝗜 𝗙𝗼𝗰𝘂𝘀 𝗼𝗻 𝗳𝗼𝗿 𝗜𝗻𝘁𝗲𝗿𝘃𝗶𝗲𝘄𝘀 Over time, I’ve noticed that most problems follow certain patterns. Identifying the right pattern early makes solving problems much easier. Here are the ones I focus on the most: ✅ 𝗜𝗳 𝘁𝗵𝗲 𝗶𝗻𝗽𝘂𝘁 𝗮𝗿𝗿𝗮𝘆 𝗶𝘀 𝘀𝗼𝗿𝘁𝗲𝗱, 𝘁𝗵𝗲𝗻: Binary search (O(log N) for efficient searching) Two pointers (Optimizing sum/pair problems) ✅ 𝗜𝗳 𝗮𝘀𝗸𝗲𝗱 𝗳𝗼𝗿 𝗮𝗹𝗹 𝗽𝗲𝗿𝗺𝘂𝘁𝗮𝘁𝗶𝗼𝗻𝘀/𝘀𝘂𝗯𝘀𝗲𝘁𝘀, 𝘁𝗵𝗲𝗻: Backtracking (Explore all possible solutions) ✅ 𝗜𝗳 𝗴𝗶𝘃𝗲𝗻 𝗮 𝘁𝗿𝗲𝗲, 𝘁𝗵𝗲𝗻: DFS (Depth-first for deep traversal) BFS (Level-order traversal) ✅ 𝗜𝗳 𝗴𝗶𝘃𝗲𝗻 𝗮 𝗴𝗿𝗮𝗽𝗵, 𝘁𝗵𝗲𝗻: DFS (Finding connected components, cycles) BFS (Shortest path, traversals) ✅ 𝗜𝗳 𝗴𝗶𝘃𝗲𝗻 𝗮 𝗹𝗶𝗻𝗸𝗲𝗱 𝗹𝗶𝘀𝘁, 𝘁𝗵𝗲𝗻: Two pointers (Fast & slow for cycle detection, middle node, etc.) ✅ 𝗜𝗳 𝗿𝗲𝗰𝘂𝗿𝘀𝗶𝗼𝗻 𝗶𝘀 𝗯𝗮𝗻𝗻𝗲𝗱, 𝘁𝗵𝗲𝗻: Stack (Simulate recursion iteratively) ✅ 𝗜𝗳 𝗺𝘂𝘀𝘁 𝘀𝗼𝗹𝘃𝗲 𝗶𝗻-𝗽𝗹𝗮𝗰𝗲, 𝘁𝗵𝗲𝗻: Swap corresponding values (For sorting or reordering) Store multiple values in the same pointer (Memory optimization) ✅ 𝗜𝗳 𝗮𝘀𝗸𝗲𝗱 𝗳𝗼𝗿 𝗺𝗮𝘅𝗶𝗺𝘂𝗺/𝗺𝗶𝗻𝗶𝗺𝘂𝗺 𝘀𝘂𝗯𝗮𝗿𝗿𝗮𝘆/𝘀𝘂𝗯𝘀𝗲𝘁/𝗼𝗽𝘁𝗶𝗼𝗻𝘀, 𝘁𝗵𝗲𝗻: Dynamic Programming (DP) (Break into overlapping subproblems) ✅ 𝗜𝗳 𝗮𝘀𝗸𝗲𝗱 𝗳𝗼𝗿 𝘁𝗼𝗽/𝗹𝗲𝗮𝘀𝘁 𝗞 𝗶𝘁𝗲𝗺𝘀, 𝘁𝗵𝗲𝗻: Heap (Efficient priority-based extraction) QuickSelect (Optimized selection of Kth smallest/largest) ✅ 𝗜𝗳 𝗮𝘀𝗸𝗲𝗱 𝗳𝗼𝗿 𝗰𝗼𝗺𝗺𝗼𝗻 𝘀𝘁𝗿𝗶𝗻𝗴𝘀, 𝘁𝗵𝗲𝗻: Map (HashMap) (Quick lookup & frequency counting) Trie (Efficient prefix-based searching) ✅ 𝗘𝗹𝘀𝗲: Map/Set (O(1) lookup, O(N) space) Sort input (O(N log N) time, O(1) space) These patterns help break down complex problems and quickly guide me toward an optimal solution. 🚀 💬 Which pattern do you find most useful in interviews? Let’s discuss! #LeetCode #DSA #JobSearch #CodingInterview #FAANG #MAANG #Amazon #Meta #Google #Microsoft #Netflix #Apple #Blind75 #Grind75 #TechInterview #SoftwareEngineering #Algorithms #DataStructures #InterviewPreparation #ProblemSolving #CrackingTheCodingInterview #Careers #SystemDesign #CompetitiveProgramming #FullStackDeveloper #DevCommunity #CodeNewbie #TechCareers #JobSearch #Python #Java #CodingLife #TechIndustry

  • Not able to recognize patterns even after solving hundreds of Leetcode problems? With this pattern recognition cheatsheet you will be able to solve more than 80% of the problems: ➡️Array / String Inputs 1. Is the array sorted? - Yes → Think: Binary Search, Two Pointers, or Prefix Sums. - No → Move to structural/intent-based decisions. 2. What's the intent of the problem? - Optimization (Max/Min, count of ways, min cost) - Interdependent choices? → Use Dynamic Programming (Top-Down or Bottom-Up). - Independent decisions? → Consider a Greedy approach (with proof of correctness). - Feasibility / Existence Check - Use Backtracking, DFS with pruning, or Binary Search on Answer. - Does it involve String Manipulation? - Prefix/Suffix logic? → Trie, Rolling Hash, or Z-Algorithm. - Sequential manipulation? → Stack, Monotonic Stack, or Deque. - Frequent lookups / duplicates / uniqueness - Use Hash Maps, Hash Sets, or Counting Arrays. - Sliding window behavior - Use Two Pointers, Deque, or Counting Hash Map. - Frequent Min/Max retrieval - Use Heap, Monotonic Queue, or Segment Tree (for range queries). ➡️ Graph Inputs 1. Pathfinding / Traversals Shortest path / fewest steps → BFS (Unweighted), Dijkstra (Weighted). Exhaustive exploration / component discovery → DFS, Union-Find. 2. Cycle Detection / Topological Order Use DFS with visited tracking, Kahn’s Algorithm, or Disjoint Sets. 3. Optimization on graphs Minimum Spanning Tree? → Kruskal, Prim. Connectivity? → Tarjan's Algorithm, Bridge Finding, etc. ➡️ Tree Inputs (Typically Binary Trees) 1. Traversals / Depth Calculations Level-order traversal / Lowest Common Ancestor → Use BFS / DFS with depth tracking. Recursive divide-and-conquer logic → Postorder traversal is your friend. 2. Balancing / Ordering Constraints Use BST properties, AVL / Red-Black trees, or Segment Trees if mutable. ➡️ Linked List Inputs 1. Cycle detection → Fast/Slow Pointers 2. Structural changes Reversal? → Track prev, curr, next pointers. Head/edge cases? → Use a dummy node strategy. Follow me Suresh G. for more content around System Design and Interview Prep

  • 𝐌𝐚𝐧𝐲 𝐩𝐞𝐨𝐩𝐥𝐞 𝐝𝐨𝐧’𝐭 𝐬𝐭𝐫𝐮𝐠𝐠𝐥𝐞 𝐰𝐢𝐭𝐡 𝐋𝐞𝐞𝐭𝐂𝐨𝐝𝐞 𝐛𝐞𝐜𝐚𝐮𝐬𝐞 𝐭𝐡𝐞𝐲 𝐥𝐚𝐜𝐤 𝐩𝐫𝐚𝐜𝐭𝐢𝐜𝐞. They struggle because they don’t know 𝐡𝐨𝐰 𝐭𝐨 𝐜𝐡𝐨𝐨𝐬𝐞 𝐭𝐡𝐞 𝐫𝐢𝐠𝐡𝐭 𝐩𝐚𝐭𝐭𝐞𝐫𝐧. That’s exactly why I created this 𝐋𝐞𝐞𝐭𝐂𝐨𝐝𝐞 𝐃𝐞𝐜𝐢𝐬𝐢𝐨𝐧 𝐓𝐫𝐞𝐞. Instead of randomly guessing between sliding window, BFS, DFS, heaps, or dynamic programming, start with one simple question: 𝐖𝐡𝐚𝐭 𝐢𝐬 𝐭𝐡𝐞 𝐢𝐧𝐩𝐮𝐭? From there, the path becomes much clearer: • 𝐀𝐫𝐫𝐚𝐲 / 𝐒𝐭𝐫𝐢𝐧𝐠 → Two Pointers, Sliding Window, Binary Search, Heap, Intervals • 𝐋𝐢𝐧𝐤𝐞𝐝 𝐋𝐢𝐬𝐭 → Fast & Slow Pointers, Pointer Manipulation, Two Pointers • 𝐓𝐫𝐞𝐞 → BFS, DFS • 𝐆𝐫𝐚𝐩𝐡 → DFS / BFS, Dijkstra, Topological Sort • 𝐂𝐡𝐨𝐢𝐜𝐞𝐬 + 𝐑𝐞𝐩𝐞𝐚𝐭𝐞𝐝 𝐖𝐨𝐫𝐤 → Dynamic Programming The goal is simple: 𝐒𝐭𝐨𝐩 𝐦𝐞𝐦𝐨𝐫𝐢𝐳𝐢𝐧𝐠 𝐢𝐧𝐝𝐢𝐯𝐢𝐝𝐮𝐚𝐥 𝐩𝐫𝐨𝐛𝐥𝐞𝐦𝐬. 𝐒𝐭𝐚𝐫𝐭 𝐫𝐞𝐜𝐨𝐠𝐧𝐢𝐳𝐢𝐧𝐠 𝐩𝐚𝐭𝐭𝐞𝐫𝐧𝐬. When you can map a problem to the right pattern quickly, interviews become much less overwhelming. Link to the full blog in the comments.

  • Stop memorizing Leetcode. Start mastering patterns. If you’ve ever felt like you forgot everything the moment the interview started, you’re not alone. Most candidates grind hundreds of Leetcode questions.But during real interviews, they still blank out. Here’s why: You memorized answers. You didn’t learn patterns. The best coders I know: - Recognize that solving Leetcode is an entirely new skill that needs to be honed, and very different from coding in the real world. - Solve fewer Leetcode problems, but spend more time understanding each one - Keep a running list of patterns: sliding window, backtracking, binary search, etc. - Revisit failed problems weekly until they can explain them out loud Here’s what helped me improve fast: - Neetcode’s Roadmap – structured problem types by pattern - Blind 75 List – fewer, high-yield problems - Codeforces Virtual Contests – for timed practice under pressure You don’t need to solve 1000+ questions. You need to understand why each one works. Day 13 of #30DaysOfCareerGrowth #techinterviews #leetcode #codinginterview #techcareers

  • I solved 400+ LeetCode problems consistently. Still got stuck in interviews midway. Why? Because I didn’t study patterns, I studied just problems. If you're grinding for tech interviews at FAANG or top startups, don’t just brute-force your way through LeetCode. I wasted months before realizing this truth: every top company tests a repeatable set of patterns. Here’s what helped me actually get better and get tech interviews: ✅ Salesforce = hashmap, heap, string manipulation, and recursion. Expect edge cases and real-world data constraints. I used this company-tagged problem list to spot repeated trends.  ✅ Google = loves recursion and trees. Think: backtracking, permutations, and k-ary structures. This LeetCode list helped me master their common types. ✅ Amazon = sliding windows, greedy, and 2 pointers. They test for speed and optimization. Use this Grokking course to drill patterns like sliding window and merge intervals until they’re second nature. ✅ Meta = graphs and BFS/DFS variants. Trust me, you can’t fake graph intuition. NeetCode’s graph sheet was a game-changer for me. ✅ Uber = dynamic programming, interval scheduling, and graphs. They care about your ability to model real-world systems. Practice problems involving route planning, time optimization, and caching logic. The Lesson I learned here? The ultimate shortcut is knowing which coding patterns to master for which company. Check out my DSA Handbook here: https://lnkd.in/eyu9rBn3 Save this post so you’re not solving random LeetCode problems before your next big interview. Tag a friend who’s deep into the coding interview prep mode. Follow Tharun Kumar Reddy Polu for targeted, real-world strategies to land top tech roles. #LeetCode #FAANG #DSA #TechInterviewTips #SoftwareEngineering #Mentorship

  • I cracked Microsoft coming from a Tier-3 college, and I can tell you one thing for sure: Mehnat karne se sab hota hai. 🚀 The path to cracking Microsoft or any top-tier product company isn't about luck. It’s about building a solid foundation and having the discipline to see it through. As someone who has navigated this path, I can tell you that the mantra is simple: Mehnat krne se hi sab hota hai. Here is the roadmap to get you there: 🚀 Language Mastery Pick one language—Java or C++—and own it. Don't just learn syntax; understand how it interacts with memory and how its core libraries are built. Microsoft looks for engineers who know exactly what happens under the hood of their code. 🧠 Pattern Recognition Stop counting the number of problems you’ve solved. Start identifying patterns. Whether it’s Sliding Window, Two Pointers, or Backtracking, mastering the pattern allows you to solve dozens of similar problems effortlessly. Focus on about 150-200 high-quality medium problems. 🌳 Data Structure Depth Pay extra attention to Trees, Graphs, and Linked Lists. These are the bread and butter of Microsoft interviews. You should be able to visualize and implement recursion and traversals like BFS and DFS without hesitation. 🏗️ System Design Thinking An engineer’s job is to build systems, not just solve puzzles. Learn Low-Level Design (LLD) to write clean, maintainable code using SOLID principles. Dive into High-Level Design (HLD) to understand how to scale applications for millions of users using load balancers and databases. 💻 Real-World Projects Coming from a Tier-3 background, your projects are your proof of work. Build something functional and complex—like a GenAI tool or a distributed service. Showing you can build and deploy real software is the best way to prove your caliber. The distance between a Tier-3 college and a dream company like Microsoft is exactly the amount of effort you are willing to put in. Mehnat krne se ho jata hai, but it has to be the right kind of effort. ✨ Stop grinding Leetcode blindly. Start mastering the 15 core patterns that define 90% of interview questions. ✨ Stop building tutorial projects. Start building real solutions that showcase your architectural thinking. ✨ Stop worrying about your college name. Start focusing on the logic in your code. In the world of software architecture, the compiler doesn't check your degree—it checks your logic. Stay consistent, stay curious, and keep building. Your background is just the starting point, not the finish line. 🏁 #Microsoft #SoftwareEngineer #DSA #Leetcode #CareerGrowth #Tier3ToFAANG #SystemDesign #CodingMotivation #TechCareer #Consistency

  • Lesson 3: No, LeetCode isn't going anywhere, at least for now. I hate to break it to you, but if you're waiting for companies to move past LeetCode, you might not want to hold your breath because LeetCode isn't going anywhere. I've seen a wide variety of interviewing styles, and I'd honestly pick LeetCode over others. I'd actually argue that the non-LeetCode ones are a lot harder to prepare for. At least with LeetCode, we have a somewhat predictable system: we know what data structures to study, a list of questions to practice, and what 'optimal' looks like. With other interviewing styles, it's like an open-book test but without the book; you're expected to know pretty much anything and everything under the sun. I don't know about you, but I don't enjoy those. The good news is that I'm very average at LeetCode, so if you're like me, all you need is to put in the reps. There are NO shortcuts. Here's a plan that works: To start, I recommend preparing for LeetCode in two phases: Phase 1 is general LeetCode prep, which you should do before you start applying. This is where you lay down the foundation. Phase 2 is targeted prep. Phase 1: 1. Start with your blind spots. Surprise, surprise, for me, it was mostly backtracking, dynamic programming, and graph algorithms. I started with Neetcode 150. 2. Spend 1 week per category. For some categories, like dynamic programming and graphs, I spent 2 weeks. 3. Start by doing all the easy questions in the first 1-2 days. For the remaining days, do the mediums. The bulk of my time was spent doing mediums. 4. Don't skip the easy questions and go straight to the mediums. Starting with the easy is a good way to develop confidence and ease yourself into the data structure. 5. Make notes in the code editor. There's no right or wrong way to make notes. When I make notes, it's almost as if I'm talking to myself, since that style helps me the most when I revisit the question later on. Do what works for you. They can be as succinct or detailed as you'd like. 6. Don't skip time and space complexities or gloss over them. They're trickier than they look. 7. For questions that have multiple solutions, I don't think there's too much added value in implementing every single solution. Implement the optimized version, but definitely review the alternatives. Just knowing the alternative approaches can make for a good conversation in an interview. 8. Others might have different preferences, but doing the same question repeatedly didn't work for me. I would rather just review a question I've done before and do a new question instead. By the end of it, I'd done ~300 questions. More on phase 2 in the next post. If you have any specific questions you'd like me to address in this series, drop them in the comments below! ---------- Looking for mentorship? Check out my profile or message me directly to discuss how I can help you reach your goals. #softwareengineering #careers

Explore categories