Welcome to js-problem-solving , a collection of JavaScript solutions for logical, algorithmic, and DSA-style problems.
This repo is part of my journey to improve my coding skills by solving real-world coding challenges using vanilla JavaScript.
## 📂 Project Structure
├── Arrays
│ ├── arr-reduce.js
│ ├── arr-reduce.md
│ ├── array-exercises.js
│ ├── array-filter.js
│ ├── array-find.js
│ ├── array-forEach.js
│ ├── array-loop.js
│ ├── array-map.js
│ ├── array-method.md
│ ├── array-modern-arrowfn.js
│ ├── array-password.js
│ ├── array-reverse.js
│ ├── arrayPractice.js
│ ├── filter-evenodd.js
│ ├── get-evens.js
│ ├── return-string.js
│ ├── sum-array.js
│ └── truthy-values.js
├── Function
│ ├── count-char.js
│ ├── count-vowels.js
│ ├── function-1.js
│ ├── function.js
│ ├── hoisting.js
│ ├── hoisting1.js
│ ├── impure-fnc.js
│ ├── lexical-example.js
│ ├── pure-fnc.js
│ ├── scope-1.js
│ ├── scope.js
│ ├── sum.js
│ ├── user-name.js
│ └── variables-1.js
├── Object
│ ├── delete-methods.js
│ ├── dev.js
│ ├── obj-interview.js
│ ├── obj-loop.js
│ ├── obj-met1.js
│ ├── obj-methods.js
│ ├── obj.js
│ ├── obj2.js
│ ├── object-exercises.js
│ ├── object-loop.js
│ ├── object-methods.js
│ └── this.js
├── String
│ ├── hashtag-generator.js
│ ├── move-charString.js
│ ├── print-string-btw97to102.js
│ ├── remove-dublicate.js
│ ├── str-caps.js
│ ├── str-concat.js
│ ├── str-reverse.js
│ ├── us-number.js
│ └── word-hide.js
├── copy-reference.js
├── gender-app
│ └── index.js
├── json.js
├── pass-reference.js
├── pass-value.js
├── rough.js
├── sum.js
├── update.js
├── worksheet-Hoistings.js
└── worksheet-Scope.js
- ✅ Logic-building problems
- ✅ JavaScript array & string manipulation
- ✅ Custom problem statements
- ✅ Clean and beginner-friendly solutions
- ✅ Naming and formatting that’s easy to read
| Problem Title | Concept Focus |
|---|---|
Arrays |
All concepts of arrays |
Function |
Covered all topics of fn |
Object |
All concepts of Object |
String |
String concepts |
copy-reference.js |
Copy by reference |
pass-value.js |
Pass by value |
worksheet-Hoistings.js |
Multiple Qs on hoisting |
worksheet-Scope.js |
Multiple Qs on scope |
More problems being added regularly!
- JavaScript (Vanilla ES6+)
- Node.js (optional for running files)
Make sure Node.js is installed:
node your-file-name.js
Example: node str-reverse.js
Let me know if you want to:
- Add project badges (like "Built with JavaScript")
- Include GIFs/output screenshots
- Add a list of future problems or improvement plans
🙋♂️ Author
Ramit Roshan
Happy coding 🔥