Skip to content

DSA

Algorithms, Data Structures, Competitive Coding, and problems from LeetCode with complete Solution Approach, Pseudocode, and Explanation.

Sum of Numbers in a String - JS

Sum of Numbers in a String – JS

🟢 Easy 🧩 Pattern – Strings, Regex and Loops From the given string of Characters (can be a mix of numbers, alphabets, and other special characters), we need to find the sum of all numbers in the string. Examples JS Solution

30 Days of JavaScript Challenge

30 Days of JavaScript Challenge

30 Days of JavaScript Challenge – solving one problem a day and writing a blog post on the solution approach, this was more of a JS basics revision with hands-on than a typical problem-solving. 30 Days of JavaScript Solutions ✨ Good Luck

Calculator with Method Chaining - 2726

Calculator with Method Chaining – 2726

🔗LC2726 🟢 Easy 🧩 Pattern – Classes 📅 Day 30/30 Days of JavaScript Design a Calculator class. The class should provide the mathematical operations of addition, subtraction, multiplication, division, and exponentiation. It should also allow consecutive operations to be performed using method chaining. The Calculator class constructor should accept a number which serves as… Read More »Calculator with Method Chaining – 2726

Array Wrapper - 2695

Array Wrapper – 2695

🔗LC2695 🟢 Easy 🧩 Pattern – Classes and Arrays 📅 Day 29/30 Days of JavaScript Create a class ArrayWrapper that accepts an array of integers in its constructor. This class should have two features: Example Solution