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
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
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
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
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
🚀 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
- 1. #AEWDynamite 16.7K posts
- 2. #Survivor49 2,738 posts
- 3. #SistasOnBET 1,947 posts
- 4. #iubb 1,644 posts
- 5. #ChicagoFire 1,338 posts
- 6. Athena 10.9K posts
- 7. Binnington 1,922 posts
- 8. Savannah 5,313 posts
- 9. Godzilla 28.5K posts
- 10. Mitchell Robinson 1,005 posts
- 11. Ovechkin 6,740 posts
- 12. Unplanned 4,271 posts
- 13. Randle 3,161 posts
- 14. Harley 11.7K posts
- 15. Lamar Wilkerson N/A
- 16. Cade Cunningham 2,280 posts
- 17. Claudio 49.5K posts
- 18. Andi 9,679 posts
- 19. Paige 28.1K posts
- 20. Josh Okogie N/A
Something went wrong.
Something went wrong.