💻✨ Practicing JavaScript Arrays! Today, I explored one of the most important topics in JavaScript — Arrays. From creating arrays to applying methods like push(), pop(), shift(), unshift(), map(), and filter(), I learned how powerful arrays can be in managing and manipulating data efficiently. 🧠 Key Concepts I practiced: Creating and accessing array elements Iterating through arrays using loops Using built-in methods for transformation Understanding how arrays make data handling easier in JavaScript Every small step in coding adds up to big progress! 🚀 #JavaScript #WebDevelopment #CodingJourney #LearningByDoing #FrontendDevelopment #JSArrays #WomenInTech #PracticeAndProgress
Harshita Prakash’s Post
More Relevant Posts
-
🚀 JavaScript Practice: Prime Numbers from 1 to 100 Here's a simple yet classic logic-building problem — finding all prime numbers between 1 and 100 using JavaScript. Key learnings from this program: ✅ Nested loops usage ✅ Logical thinking with condition checks ✅ Introduction to algorithmic problem-solving 💡 Tech Used: JavaScript 👨💻 Concept: Prime Number Detection #JavaScript #Coding #100DaysOfCode #SoftwareEngineer #LearningInPublic #LogicBuilding #FrontendDevelopment
To view or add a comment, sign in
-
-
New Video in our DSA in JavaScript Series! In this video, we continue our Stack chapter and solve two very popular stack problems in JavaScript. You’ll learn step-by-step how to: Evaluate a Postfix Expression using Stack Find the Next Greater Element (NGE) using an efficient O(n) stack approach Both problems are extremely important for interviews and will help you clearly understand how the LIFO (Last In, First Out) principle works in real DSA problems. We’ll break down the full logic with: - Concept explanation - Step-by-step dry run - Complete JavaScript implementation inside VS Code You will clearly understand: - How Stack helps in Expression Evaluation - Why we use Stack for NGE problems - Internal working of push() and pop() - How Stack makes the solution optimal in O(n) time * Watch here → https://lnkd.in/g2-TRV_C * Watch the complete DSA in JavaScript playlist here: https://lnkd.in/g2qrGaSH * Download the PPT for this topic here: https://lnkd.in/gBiwxSG5
Stack Problems Part-2 in JavaScript | DSA Explained with Example | JDCodebase
https://www.youtube.com/
To view or add a comment, sign in
-
🚀 Day 6 of My 30 Days of JavaScript Challenge 🧩 Problem: Filter Elements from Array (LeetCode #2634) Given an integer array arr and a filtering function fn, return a new array filteredArr that only includes elements where fn(arr[i], i) returns a truthy value. Solve this without using the built-in Array.filter() method. 💻 Language: JavaScript ❓ Question: https://lnkd.in/eSGpgXcM 💡 Solution: https://lnkd.in/ekA6y-u3 🧠 Concepts Used: Higher-order functions and callbacks Conditional checks for truthy/falsy values Understanding Boolean(value) behavior in JavaScript 📚 Takeaway: Rebuilding filter() from scratch deepens understanding of conditional logic, iteration, and truthy/falsy evaluation — all essential for functional programming in JavaScript. #Day6 #JavaScript #30DaysOfCode #LeetCode #CodingChallenge #WebDevelopment #FrontendDevelopment #100DaysOfCode
To view or add a comment, sign in
-
✨ Day 9 — Mastering Functions in JavaScript (Part 1: The Fundamentals)! ✨ Today, I explored one of the most powerful and essential concepts in JavaScript — Functions! 💻 I started by understanding what a function really is — a reusable “code recipe” that helps us follow the DRY (Don’t Repeat Yourself) principle. 🔁 I learned about the anatomy of a function, including parameters vs. arguments, and the importance of the return keyword. Then, I discovered the difference between Function Declarations and Function Expressions, and how Hoisting works behind the scenes. To wrap up the fundamentals, I explored modern Arrow Functions (=>) — short, clean, and perfect for writing concise logic! ⚡ This session helped me understand how functions make our code modular, reusable, and easy to maintain — truly the foundation of JavaScript programming. 🚀 #Day9 #JavaScript #WebDevelopment #100DaysOfCode #LearningEveryday #Functions #FrontendDevelopment #CodingJourney #TechLearning
To view or add a comment, sign in
-
-
Day 5 of #30DaysOfJavaScript: Creating My Own Filter Function from Scratch! 🎯 Today, I tackled a great exercise that challenged me to build a custom filter function without using JavaScript’s built-in .filter() method. This involved iterating over an array and using a callback function to decide which elements to keep based on truthy values. Here’s a peek at the solution I wrote: Key takeaways from this challenge: Deepened my understanding of higher-order functions and callback usage. Learned how to evaluate truthy and false values in JavaScript more effectively. Gained appreciation for the power and convenience of built-in array methods by implementing one manually. This hands-on approach is helping me grasp fundamental JavaScript concepts in detail while preparing for real-world coding challenges. Excited to keep growing and solving more problems along the way! Let’s connect and share knowledge. #JavaScript #CodingChallenge #WebDevelopment #LeetCode #ArrayMethods #LearningByBuilding #DeveloperJourney
To view or add a comment, sign in
-
-
🚀 New Video in our DSA in JavaScript Series! In this video, we continue our Stack chapter 📚 — and solve two very popular stack problems in JavaScript 💻 You’ll learn step-by-step how to: ✅ Reverse a String using Stack ✅ Check for Balanced Parentheses (Brackets) Both are beginner-friendly but super important problems to understand how LIFO (Last In, First Out) works in real coding examples ⚙️ We’ll go through the full logic + code explanation and dry run everything inside VS Code 👇 💡 You’ll clearly understand: How Stack helps in Reversal & Matching problems Real use of push() and pop() How LIFO principle solves both questions Step-by-step dry run examples 🎥 Watch here → https://lnkd.in/etXYgrSp 📌 Watch the complete DSA in JavaScript playlist here: https://lnkd.in/g2qrGaSH 📂 Download the PPT for this topic here: https://lnkd.in/eejEhC3j #dsa #dsainjavascript #javascript #stack #datastructures #codingtutorial #dsaforbeginners #jdcodebase #javascriptdsa #stacktutorial
Stack Problems Part-1 in JavaScript | DSA Explained with Example | JDCodebase
https://www.youtube.com/
To view or add a comment, sign in
-
Day 8 of #30DaysOfJavaScript: Counting Function Arguments with Rest Parameters! 🎯 Solved an interesting and fundamental problem today—writing a function that returns the count of arguments passed to it. This challenge sharpened my understanding of JavaScript’s rest parameters and how they simplify working with variable numbers of arguments. Here’s my solution: javascript var argumentsLength = function(...args) { return args.length; }; Key insights gained: rest parameters allow capturing an indefinite number of arguments in an array-like structure. This approach is cleaner and more intuitive than using the legacy arguments object. Mastering these basics is essential for writing flexible, reusable functions in JavaScript. Excited to keep progressing on this learning journey and uncovering more of JavaScript’s powerful features every day! If you’re also working through JavaScript fundamentals or coding challenges, let’s connect and share tips. #JavaScript #RestParameters #CodingChallenge #LeetCode #WebDev #LearningByDoing #SoftwareDevelopment
To view or add a comment, sign in
-
-
🚀 Starting My JavaScript Revision Journey! Body: Yesterday, I went back to the basics of JavaScript to strengthen my foundation. Here’s what I revised: 🟡 Variables — var, let, and const and when to use them 🟡 Scope — Global variables (accessible everywhere) — Local variables (accessible within a function/block) 🟡 Data Types — Primitive: string, number, boolean, null, undefined, symbol, bigint — Non-Primitive: objects, arrays, functions It’s amazing how revisiting fundamentals clears a lot of confusion! What JavaScript concept took you time to understand when starting out? #JavaScript #BackendDevelopment #LearningJourney #Coding
To view or add a comment, sign in
-
🚀 Day 5 of My 30 Days of JavaScript Challenge 🧩 Problem: Apply Transform Over Each Element in Array (LeetCode #2635) Given an integer array arr and a mapping function fn, return a new array such that: newArray[i] = fn(arr[i], i) Solve this without using the built-in Array.map() method. 💻 Language: JavaScript ❓ Question: https://lnkd.in/eq8qYfpb 💡 Solution: https://lnkd.in/eT5U2kBp 🧠 Concepts Used: Higher-order functions (passing functions as arguments) Loops and callback functions Core idea behind how .map() works internally 📚 Takeaway: By recreating the Array.map() method manually, I learned how callback execution and array transformations work under the hood — a must-know for mastering JavaScript fundamentals. #Day5 #JavaScript #30DaysOfCode #LeetCode #CodingChallenge #WebDevelopment #FrontendDevelopment #100DaysOfCode
To view or add a comment, sign in
-
🚀 New Video in our DSA in JavaScript Series! In this video, we continue our Stack chapter 📚 — and learn how to implement a Stack using Array in JavaScript 💻 You’ll see how core stack operations like push(), pop(), peek(), isEmpty(), and isFull() actually work — step by step and in a super easy way ⚙️ We’ll build everything from scratch using a Stack class, handle overflow & underflow conditions, and test it all in VS Code 👇 💡 You’ll clearly understand: ✅ How to implement Stack using Array in JavaScript ✅ Stack operations — push(), pop(), peek(), isEmpty(), isFull() ✅ How LIFO works in real code ✅ Stack Overflow & Underflow conditions ✅ Practical example with step-by-step output 🎥 Watch here → https://lnkd.in/g4Qh2ppn 📌 Watch the complete DSA in JavaScript playlist here: https://lnkd.in/g2qrGaSH 📂 Download the PPT for this topic here: https://lnkd.in/gPYvRV52 #dsa #dsainjavascript #javascript #stack #datastructures #codingtutorial #dsaforbeginners #jdcodebase #javascriptdsa #stacktutorial
Stack Implementation (Array-based) in JavaScript | DSA Explained with Example | JDCodebase
https://www.youtube.com/
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
Data structures are backbone of every programming language, keep it up