Day 82 of #100DaysOfCode Today I learned Hashing and Frequency Maps, a powerful concept in DSA. Covered: • Counting elements efficiently • Solving problems using key-value pairs • Optimizing time complexity #DSA #JavaScript #CodingInterview #LearningInPublic
Hashing and Frequency Maps in DSA
More Relevant Posts
-
Still consistent with my DSA practice — focusing on core logic building. 🚀 Today I worked on: 🔹 Find Intersection of Two Arrays Problem: Given two arrays, find the common elements between them. Simple brute-force approach, but it clearly shows how nested loops and comparisons work. Yeah, this isn’t optimized — but right now I’m focusing on understanding logic first, optimization later. Because if your base is weak, no “optimized solution” will save you. #DSA #JavaScript #ProblemSolving #CodingJourney #Consistency
To view or add a comment, sign in
-
-
Unique Permutations using Backtracking Day 9👈 At first glance, permutations are straightforward — but handling duplicates efficiently is where the real challenge lies. Key idea: -- Sort the array first -- Skip duplicate elements during iteration to avoid redundant permutations -- Use backtracking to explore all possible combinations. #JavaScript #TypeScript #DSA #Algorithms #Backtracking #CodingInterview #FrontendDeveloper #LearnToCode #ProblemSolving #100DaysOfCode
To view or add a comment, sign in
-
-
Day 83 of #100DaysOfCode Today I learned the Two Pointers technique, an important pattern for solving array problems efficiently. Covered: • Pair sum problems • Array reversal • Removing duplicates • Optimizing time complexity This technique helps reduce time complexity #DSA #CodingInterview #JavaScript #LearningInPublic
To view or add a comment, sign in
-
JavaScript can surprise you! What will this return? console.log([] == ![]) Most people guess - false But the answer is - true Why? Because JavaScript silently converts types behind the scenes. Lesson: Always understand type coercion — or use === to avoid surprises. #JavaScript #Coding #WebDevelopment #LearnToCode
To view or add a comment, sign in
-
If you're only using Arrays and Objects in JavaScript, you're limiting yourself. Map and Set exist for a reason — and they solve problems cleaner. → Need unique values? Set does it instantly → Need proper key-value storage? Map beats Object Less workaround. More clarity. Wrote a quick breakdown with examples. Read here: 🔗 https://lnkd.in/drqhd7Vg #JavaScript #WebDevelopment #Coding
To view or add a comment, sign in
-
-
🚀 LeetCode Challenge Update: 27/128 Just wrapped up “Container With Most Water” 💧 — a classic two-pointer problem that really tests how you think about optimization. At first glance, it feels like a brute-force problem… but the real magic is in reducing time complexity from O(n²) to O(n) using a smarter approach. 🔑 Key takeaway: Sometimes the best solution isn’t about checking everything — it’s about moving intelligently and eliminating unnecessary work. 📈 Progress: 27/128 Consistency > Motivation #LeetCode #128DaysOfCode #CodingJourney #DSA #JavaScript #ProblemSolving
To view or add a comment, sign in
-
-
Day 5 — #100DaysOfCode Built a Random Color Generator using JavaScript today. ✅ With a simple click, the background color changes dynamically—making the concept of DOM manipulation and event handling more practical and visual. Projects like these make learning more engaging and help connect concepts more clearly. Building, learning, and improving step by step. 🚀 #100DaysOfCode #JavaScript #WebDevelopment #FrontendDevelopment #Projects #Consistency
To view or add a comment, sign in
-
#JourneyToTechJob – Day 9 🚀 #50DaysOfRevision Revisited problem-solving concepts today with a focus on arrays. ✔️ Practiced solving basic array problems ✔️ Focused on improving approach and logic clarity ✔️ Worked on writing more structured and readable code Building consistency one step at a time. #SoftwareDevelopment #FrontendDevelopment #BackendDevelopment #JavaScript #DSA #ProblemSolving #BuildInPublic #Consistency #50DaysOfCodeChallenge
To view or add a comment, sign in
-
Already know how queues work? Made a visual to understand FIFO, Big O trade-offs, and when to use queues in JavaScript — all in one diagram. #JavaScript #DataStructures #Algorithms #SoftwareEngineering
To view or add a comment, sign in
-
-
You don’t need 5 lines to extract values from an object. If you’re still doing that, you’re writing bad JavaScript. There’s a cleaner way: 👉 Destructuring Less repetition. Cleaner code. Easier to read. Once you start using it, going back feels wrong. 🔗 Read here: https://lnkd.in/dw9j7a6t What should I cover next — Spread/Rest or Promises? #javascript #webdevelopment #coding
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