AkshatTheCoder's profile picture. Software Engineer in making

Akshat Garg

@AkshatTheCoder

Software Engineer in making

Day 10 of #30DaysOfJavaScript 📘 🧩 Problem: 2666. Allow One Function Call ✅ Concept: Closures & Function State 💡 Approach: Track if the function has been called; run once, then return undefined. 🔥 10 days streak done! 🚀 #LeetCode #JavaScript

AkshatTheCoder's tweet image. Day 10 of #30DaysOfJavaScript 📘
🧩 Problem: 2666. Allow One Function Call
✅ Concept: Closures & Function State
💡 Approach: Track if the function has been called; run once, then return undefined.
🔥 10 days streak done! 🚀
#LeetCode #JavaScript
AkshatTheCoder's tweet image. Day 10 of #30DaysOfJavaScript 📘
🧩 Problem: 2666. Allow One Function Call
✅ Concept: Closures & Function State
💡 Approach: Track if the function has been called; run once, then return undefined.
🔥 10 days streak done! 🚀
#LeetCode #JavaScript

Day 9 of #30DaysOfJavaScript 📘 🧩 Problem: 2703. Return Length of Arguments Passed ✅ Concept: Rest Parameters 💡 Approach: Use ...args and return args.length. #LeetCode #JavaScript

AkshatTheCoder's tweet image. Day 9 of #30DaysOfJavaScript 📘
🧩 Problem: 2703. Return Length of Arguments Passed
✅ Concept: Rest Parameters
💡 Approach: Use ...args and return args.length.
#LeetCode #JavaScript
AkshatTheCoder's tweet image. Day 9 of #30DaysOfJavaScript 📘
🧩 Problem: 2703. Return Length of Arguments Passed
✅ Concept: Rest Parameters
💡 Approach: Use ...args and return args.length.
#LeetCode #JavaScript

Day 8 of #30DaysOfJavaScript 📘 🧩 Problem: 2629. Function Composition ✅ Concept: Higher-Order Functions & reduceRight 💡 Approach: Apply functions right-to-left, passing the accumulator through each. #LeetCode #JavaScript

AkshatTheCoder's tweet image. Day 8 of #30DaysOfJavaScript 📘
🧩 Problem: 2629. Function Composition
✅ Concept: Higher-Order Functions & reduceRight
💡 Approach: Apply functions right-to-left, passing the accumulator through each.
#LeetCode #JavaScript
AkshatTheCoder's tweet image. Day 8 of #30DaysOfJavaScript 📘
🧩 Problem: 2629. Function Composition
✅ Concept: Higher-Order Functions & reduceRight
💡 Approach: Apply functions right-to-left, passing the accumulator through each.
#LeetCode #JavaScript

Day 7 of #30DaysOfJavaScript 📘 🧩 Problem: 2626. Array Reduce Transformation ✅ Concept: Array Reduction & Accumulators 💡 Approach: Implemented a custom reduce by iterating and updating the accumulator with fn. #LeetCode #JavaScript

AkshatTheCoder's tweet image. Day 7 of #30DaysOfJavaScript 📘
🧩 Problem: 2626. Array Reduce Transformation
✅ Concept: Array Reduction & Accumulators
💡 Approach: Implemented a custom reduce by iterating and updating the accumulator with fn.
#LeetCode #JavaScript
AkshatTheCoder's tweet image. Day 7 of #30DaysOfJavaScript 📘
🧩 Problem: 2626. Array Reduce Transformation
✅ Concept: Array Reduction & Accumulators
💡 Approach: Implemented a custom reduce by iterating and updating the accumulator with fn.
#LeetCode #JavaScript

Day 6 of #30DaysOfJavaScript 📘 🧩 Problem: 2634. Filter Elements from Array ✅ Concept: Array Iteration & Conditionals 💡 Approach: Built a custom filter by checking each element with fn and pushing valid ones. #LeetCode #JavaScript

AkshatTheCoder's tweet image. Day 6 of #30DaysOfJavaScript 📘
🧩 Problem: 2634. Filter Elements from Array
✅ Concept: Array Iteration & Conditionals
💡 Approach: Built a custom filter by checking each element with fn and pushing valid ones.
#LeetCode #JavaScript
AkshatTheCoder's tweet image. Day 6 of #30DaysOfJavaScript 📘
🧩 Problem: 2634. Filter Elements from Array
✅ Concept: Array Iteration & Conditionals
💡 Approach: Built a custom filter by checking each element with fn and pushing valid ones.
#LeetCode #JavaScript

Day 5 of #30DaysOfJavaScript 📘 🧩 Problem: 2635. Apply Transform Over Each Element in Array ✅ Concept: Array Iteration & Higher-Order Functions 💡 Approach: Implemented a custom map by applying fn to each element with its index. #LeetCode #JavaScript

AkshatTheCoder's tweet image. Day 5 of #30DaysOfJavaScript 📘
🧩 Problem: 2635. Apply Transform Over Each Element in Array
✅ Concept: Array Iteration & Higher-Order Functions
💡 Approach: Implemented a custom map by applying fn to each element with its index.
#LeetCode #JavaScript
AkshatTheCoder's tweet image. Day 5 of #30DaysOfJavaScript 📘
🧩 Problem: 2635. Apply Transform Over Each Element in Array
✅ Concept: Array Iteration & Higher-Order Functions
💡 Approach: Implemented a custom map by applying fn to each element with its index.
#LeetCode #JavaScript

Day 4 of #30DaysOfJavaScript 📘 🧩 Problem: 2665. Counter II ✅ Concept: Closures & Object Methods 💡 Approach: Return an object with increment, decrement, and reset methods using a captured variable. #LeetCode #JavaScript

AkshatTheCoder's tweet image. Day 4 of #30DaysOfJavaScript 📘
🧩 Problem: 2665. Counter II
✅ Concept: Closures & Object Methods
💡 Approach: Return an object with increment, decrement, and reset methods using a captured variable.

#LeetCode #JavaScript
AkshatTheCoder's tweet image. Day 4 of #30DaysOfJavaScript 📘
🧩 Problem: 2665. Counter II
✅ Concept: Closures & Object Methods
💡 Approach: Return an object with increment, decrement, and reset methods using a captured variable.

#LeetCode #JavaScript

Day 3 of #30DaysOfJavaScript 📘 🧩 Problem: 2704. To Be Or Not To Be ✅ Concept: Objects & Error Handling 💡 Approach: Return an object with toBe & notToBe methods that validate values. #LeetCode #JavaScript

AkshatTheCoder's tweet image. Day 3 of #30DaysOfJavaScript 📘
🧩 Problem: 2704. To Be Or Not To Be
✅ Concept: Objects & Error Handling
💡 Approach: Return an object with toBe & notToBe methods that validate values.

#LeetCode #JavaScript
AkshatTheCoder's tweet image. Day 3 of #30DaysOfJavaScript 📘
🧩 Problem: 2704. To Be Or Not To Be
✅ Concept: Objects & Error Handling
💡 Approach: Return an object with toBe & notToBe methods that validate values.

#LeetCode #JavaScript

Day 2 of #30DaysOfJavaScript 📘 🧩 Problem: 2620. Counter ✅ Concept: Closures 💡 Approach: Return a function that increments and returns n. 📸 Solution below! #LeetCode #JavaScript

AkshatTheCoder's tweet image. Day 2 of #30DaysOfJavaScript 📘
🧩 Problem: 2620. Counter
✅ Concept: Closures
💡 Approach: Return a function that increments and returns n.
📸 Solution below!
#LeetCode #JavaScript
AkshatTheCoder's tweet image. Day 2 of #30DaysOfJavaScript 📘
🧩 Problem: 2620. Counter
✅ Concept: Closures
💡 Approach: Return a function that increments and returns n.
📸 Solution below!
#LeetCode #JavaScript

🚀 Starting my #30DaysOfJavaScript challenge on LeetCode! Day 1 📘 🧩 Problem: 2667. Create Hello World Function ✅ Concept: Functions & Closures 💡 Approach: Return an inner function that outputs "Hello World". #LeetCode #JavaScript

AkshatTheCoder's tweet image. 🚀 Starting my #30DaysOfJavaScript challenge on LeetCode!

Day 1 📘
🧩 Problem: 2667. Create Hello World Function
✅ Concept: Functions & Closures
💡 Approach: Return an inner function that outputs "Hello World".
#LeetCode #JavaScript
AkshatTheCoder's tweet image. 🚀 Starting my #30DaysOfJavaScript challenge on LeetCode!

Day 1 📘
🧩 Problem: 2667. Create Hello World Function
✅ Concept: Functions & Closures
💡 Approach: Return an inner function that outputs "Hello World".
#LeetCode #JavaScript

United States Tren

Loading...

Something went wrong.


Something went wrong.