🚀 Day 6 of My LeetCode Journey — Search Like a Pro Today was all about mastering the fundamentals of searching: 🔹 Linear Search 🔹 Binary Search (LeetCode 704) 💡 Problem 1: Linear Search The most straightforward approach: 👉 Traverse each element 👉 Compare until you find the target Simple, but important to understand its limitation: ⏱️ Time Complexity: O(n) 💡 Problem 2: Binary Search This is where things get interesting 🔥 👉 Works only on sorted arrays 👉 Divide the search space in half every step Result: ⏱️ Time Complexity: O(log n) 🚀 This problem really helped me understand how powerful optimization can be when the data is structured correctly. 🔥 Key Takeaways: Always check if the array is sorted → you might use Binary Search Optimization often comes from reducing the search space Fundamentals like searching form the base of everything in DSA Grateful for the learning journey with Namaste DSA and Akshay Saini 🚀 Day 7 coming up 💪 #LeetCode #DataStructures #Algorithms #CodingJourney #100DaysOfCode #SoftwareEngineering #Programming #InterviewPrep #JavaScript #CodingLife #TechGrowth #ProblemSolving #Developers #LearnToCode #BinarySearch #LinearSearch #NamasteDSA
Sanjeev Kumar’s Post
More Relevant Posts
-
🚀 Day 7 of My LeetCode Journey — Sorting Fundamentals Today I focused on two classic sorting algorithms: 🔹 Bubble Sort 🔹 Selection Sort 💡 Bubble Sort The idea is simple: 👉 Compare adjacent elements 👉 Swap if they are in the wrong order 👉 Repeat until the array is sorted It’s easy to understand, but not efficient for large datasets. ⏱️ Time Complexity: O(n²) 💡 Selection Sort A slightly different approach: 👉 Find the minimum element 👉 Place it at the correct position 👉 Repeat for the rest of the array Also simple, but still not optimal for big inputs. ⏱️ Time Complexity: O(n²) 🔥 Key Takeaways: These algorithms may not be optimal, but they build strong fundamentals Understanding how sorting works internally is more important than memorizing Optimization comes later — basics come first Big thanks to Namaste DSA and Akshay Saini 🚀 for guiding this journey Consistency is the real win — Day 8 loading 💪 #LeetCode #DataStructures #Algorithms #CodingJourney #100DaysOfCode #SoftwareEngineering #Programming #InterviewPrep #JavaScript #CodingLife #TechGrowth #ProblemSolving #Developers #LearnToCode #Sorting #BubbleSort #SelectionSort #NamasteDSA
To view or add a comment, sign in
-
“I thought I understood backtracking… until I tried to optimize it.” 🔁🔥 Today’s focus: deep DSA revision + sharper problem-solving I revisited Backtracking and challenged myself with: 👉 LeetCode 46 – Permutations 💥 Result: ✔️ Accepted (26/26 test cases) ✔️ 0 ms runtime (100% beat) ✔️ Optimized recursive approach But the real win wasn’t the stats. It was understanding how to: Systematically explore all possibilities Prune unnecessary paths Think in terms of decision trees, not loops Key Insight: Backtracking trains you to think like a problem solver, not just a coder. And that’s where real growth happens. 💡 Tech Stack & Concepts: JavaScript • Recursion • Backtracking • DSA Patterns Grateful to AlmaBetter for structured learning and consistent support. 🙌 🚀 Focused on writing efficient, scalable logic and improving problem-solving depth. #DSA #Backtracking #LeetCode #JavaScript #ProblemSolving #SoftwareEngineer #CodingJourney
To view or add a comment, sign in
-
-
Some people treat tech like a race. I’ve started treating it like a mirror. Here are a few things I’ve noticed while learning to code: - You can finish a 10‑hour course and still freeze on a 20‑line project. - The person who quietly reads documentation often moves faster than the one who talks about how many languages they “know.” - 90% of “being good” is just not quitting when the 5th error appears on the same line. Tech looks like it’s only about tools and frameworks, but most days it feels like you’re debugging your own thinking. You see how you react when things break, how patient you are when nothing works, and how honest you are about gaps in your understanding. Somewhere between broken builds and tiny wins, you stop chasing the image of a “perfect developer” and start respecting the version of you that shows up, experiments and learns in public. Maybe the real measure of progress in tech is not how many buzzwords you can list, but how many times you’re willing to open the editor again after it went wrong yesterday. What has your tech journey quietly taught you so far? #TechThoughts #WomenInTech #Python #WebDevelopment #LearningInPublic #StudentToDeveloper #CareerGrowth
To view or add a comment, sign in
-
in 2026 Most beginners struggle with Python not because it’s hard… but because they skip the basics. And one of the most underrated skills? 👉 Pattern programs. I found this resource with 50 Python pattern programs that helps you: 💡 Think logically 🔁 Understand loops deeply 🎯 Prepare for interviews If you’re starting your coding journey, don’t ignore this. Small practice today = Strong logic tomorrow 🚀 Please follow Bada Diwakarreddy for more content. #Reshare with your network. Follow TheVinia Everywhere Stay connected with TheVinia and keep learning the latest in Web Development, React, and Tech Skills. 🎥 YouTube – Watch tutorials, roadmaps, and coding guides 👉 https://lnkd.in/gfKgVVFf 📸 Instagram – Get daily coding tips, updates, and learning content 👉 https://lnkd.in/gK4S-ah8 💼 Telegram – Follow our journey, insights, and professional updates 👉 https://lnkd.in/gU8M8hwd 💼 Medium : https://lnkd.in/gy9iSHqv ✨ Join our community and grow your tech skills with us. #PythonBeginner #CodingJourney #TechSkills #ProgrammingLife #Developers
To view or add a comment, sign in
-
🚀 Day 8 of DSA Practice – Small Problem, Big Learning! Today I worked on a classic sorted array problem that looks simple… but has a powerful optimization behind it 👇 🔍 Problem: Count how many times a number appears in a sorted array 👉 Example: [1,1,2,2,2,2,3] → target = 2 → Output = 4 💭 How I approached it: ✅ Started with a Linear Scan (O(n)) – straightforward and reliable 🚀 Then optimized using Binary Search (O(log n)) → Found the first and last occurrence → Calculated frequency efficiently 🧠 Key Takeaway: Whenever you see a sorted array, think beyond brute force. 👉 Binary Search can turn an average solution into an optimized one. 💻 Code available here: 🔗 https://lnkd.in/g2wdfYzZ 📈 Consistency Check: Day 8 ✅ Learning something new every day and getting closer to stronger problem-solving skills 💪 #DSA #100DaysOfCode #JavaScript #CodingJourney #BinarySearch #LearnInPublic #TechGrowth
To view or add a comment, sign in
-
-
𝗠𝗼𝘀𝘁 𝗣𝗲𝗼𝗽𝗹𝗲 𝗗𝗼𝗻’𝘁 𝗙𝗮𝗶𝗹 𝗣𝘆𝘁𝗵𝗼𝗻… 𝗧𝗵𝗲𝘆 𝗟𝗲𝗮𝗿𝗻 𝗜𝘁 𝗪𝗿𝗼𝗻𝗴. 🚫🐍 Harsh truth. You watched 20+ hours of tutorials. You understood everything. But when you try to code alone… 𝗯𝗹𝗮𝗻𝗸 𝘀𝗰𝗿𝗲𝗲𝗻. Why? Because you trained your brain to #consume, not #solve. --- 𝗧𝗵𝗲 𝗕𝗶𝗴𝗴𝗲𝘀𝘁 𝗠𝗶𝘀𝘁𝗮𝗸𝗲 👇 Beginners treat Python like a subject. But Python is a #skill. And skills are built by: → Trying → Failing → Fixing → Repeating Not by watching someone else type. --- 𝗛𝗼𝘄 𝘁𝗼 𝗔𝗰𝘁𝘂𝗮𝗹𝗹𝘆 𝗟𝗲𝗮𝗿𝗻 𝗣𝘆𝘁𝗵𝗼𝗻 ⚡ Forget perfection. Do this instead: ➊ Learn basics FAST (max 2 days) No deep dive. Just enough to start. ➋ Start coding on Day 3 (non-negotiable) Even if you don’t know how. ➌ Struggle first → THEN watch solution This is where real growth happens. ➍ Build tiny projects (not “perfect” ones) Your first code SHOULD look bad. ➎ Use Google like a developer Searching is a skill. Learn it early. --- 𝗥𝗲𝗮𝗹 𝗚𝗮𝗺𝗲 𝗖𝗵𝗮𝗻𝗴𝗲𝗿 🧠 The moment you stop saying: “I’ll start when I’m ready” And start saying: “I’ll figure it out while doing” That’s when things change. --- 𝗥𝘂𝗹𝗲 𝘁𝗼 𝗿𝗲𝗺𝗲𝗺𝗯𝗲𝗿: 𝗬𝗼𝘂 𝗱𝗼𝗻’𝘁 𝗹𝗲𝗮𝗿𝗻 𝗣𝘆𝘁𝗵𝗼𝗻 𝗶𝗻 𝘁𝘂𝘁𝗼𝗿𝗶𝗮𝗹𝘀. 𝗬𝗼𝘂 𝗹𝗲𝗮𝗿𝗻 𝗶𝘁 𝗶𝗻 𝗲𝗿𝗿𝗼𝗿𝘀. --- If you're serious about learning: Save this so you don’t fall back into tutorial hell. Repost to help someone who’s stuck right now. Follow me for real, no-fluff coding content. Anil Rathod #Python #Coding #Developers #Programming #LearnToCode #BuildInPublic
To view or add a comment, sign in
-
-
You Don’t Need to Learn Everything 😳 You don’t need to learn everything to become a developer… Most beginners make this mistake 👇 They try to learn: ❌ Every language ❌ Every framework ❌ Every tool And end up learning… nothing properly 😶 Here’s what actually works 👇 ✅ Pick ONE language (Python is enough 🐍) ✅ Pick ONE framework (Django / FastAPI) ✅ Build REAL projects ✅ Go deep instead of wide Big mistake: Learning more ≠ Becoming better Smart approach: 👉 Depth > Breadth 👉 Practice > Theory 👉 Projects > Tutorials Why this matters: Companies don’t hire you for how much you know… They hire you for what you can build 💯 Reality: A developer who knows 1 thing deeply… Is better than someone who knows 10 things lightly Pro Tip: Master basics so strong… That advanced things become easy 🚀 CTA: Follow me for real developer growth 🚀 Save this post to stay focused 💾 Comment "FOCUS" if you agree 👇 #Python #Programming #Developer #Coding #LearnPython #SoftwareEngineer #Developers #Tech #Focus #CodingTips
To view or add a comment, sign in
-
-
Building in public. Learning in depth. Contributing consistently. Recently, I explored and contributed during Open Source Connect Global 2026 🌍💻 — and it gave me a clearer perspective on how real-world development actually works beyond tutorials. Alongside this, I’ve been actively working on my GitHub — experimenting with projects across Python, backend logic, and automation-based tools. From small scripts to functional utilities, each project is helping me understand how systems are built, not just how code runs. Github Profile -> https://lnkd.in/g-sbXHdT Codolio profile -> https://lnkd.in/gCGhWGGh What I’ve realized: → Writing code is easy. → Building something useful is hard. → Staying consistent is the real game. Currently focused on: • Backend development & system thinking • Open-source contributions • Building practical, problem-solving projects This is just the beginning — aiming to move from learning → building → contributing at scale 🚀 Would love to connect with developers and builders working on meaningful tech. #OpenSource #BackendDevelopment #Python #BuildInPublic #Developers #TechJourney
To view or add a comment, sign in
-
🚀 Day 14 of My LeetCode Journey — Linked List Confidence Growing Today’s problems: 🔹 Add Two Numbers (LeetCode 2) 🔹 Odd Even Linked List (LeetCode 328) 💡 Problem 1: Add Two Numbers This problem simulates addition like we do manually: 👉 Traverse both linked lists 👉 Add corresponding digits + carry 👉 Create new nodes for the result 👉 Handle remaining carry at the end 🔥 A great mix of linked list traversal + math logic 💡 Problem 2: Odd Even Linked List This one is all about rearranging nodes: 👉 Separate nodes into odd index and even index 👉 Maintain two pointers (odd & even) 👉 Finally connect odd list with even list ⚡ No extra space needed — done in-place! 🧠 What I Learned: - Handling carry properly is crucial in problems like addition - Rearranging pointers without losing references is key - Linked List problems are getting more intuitive with practice 🔥 Key Takeaways: - Break problems into smaller steps (traverse, compute, connect) - Always track pointers carefully to avoid losing nodes - Practice is making complex problems feel simpler Grateful for the learning journey with Namaste DSA and Akshay Saini 🚀 Day 15 loading… 💪 --- #LeetCode #DataStructures #Algorithms #CodingJourney #100DaysOfCode #SoftwareEngineering #Programming #InterviewPrep #JavaScript #CodingLife #TechGrowth #ProblemSolving #Developers #LearnToCode #LinkedList #DSA #NamasteDSA #AkshaySaini
To view or add a comment, sign in
-
💻 Want to start coding but don’t know where to begin? Start here. Most beginners overcomplicate coding… But the truth is — it’s simpler than you think. 🚀 Follow this roadmap: 1️⃣ Understand what coding really is 2️⃣ Pick ONE language (Python / HTML+CSS / JavaScript) 3️⃣ Learn the basics → variables, loops, functions 4️⃣ Build small projects (calculator, to-do app, portfolio) 5️⃣ Practice daily (even 20–30 mins matters!) 6️⃣ Level up → Git, APIs, frameworks 7️⃣ Build something BIG 👉 Reality check: You don’t need 10 courses. You need consistency + real projects. 🔥 The difference between beginners and pros? 👉 Beginners consume content 👉 Pros build things 💬 Let’s discuss: If you’re starting today — which language would you pick and why? Drop your answer below 👇 #Coding #Programming #LearnToCode #WebDevelopment #Python #JavaScript #Developers #TechCareer #Beginners #100DaysOfCode
To view or add a comment, sign in
-
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development