Welcome to the JavaScript Programs Collection! 📜 This repository contains a variety of JavaScript programs, each solving a unique problem. Each file is named descriptively to indicate the problem it addresses. 📝
🔗 Portfolio: ZeePortfolio
🐙 GitHub: mzeeshan138
📧 Email: muhammadzeeshan786138@gmail.com
🔗 LinkedIn: Muhammad Zeeshan
🔗 LeetCode Profile: Zeeshan's LeetCode Profile
- Clone this repository:
git clone https://github.com/mzeeshan138/JavaScript-programs.git
- Navigate to the folder:
cd javascript-programs - Open any
.jsfile to explore the solution.
Here’s a list of all programs included in this repository:
| # | Programs | Link |
|---|---|---|
| 01 | Reverses a String. | View Code |
| 02 | Compares Two Strings or Arrays. | View Code |
| 03 | Checks if a String is a Palindrome. | View Code |
| 04 | Calculates the Sum of Digits of a Number. | View Code |
| 05 | Reverses a Number. | View Code |
| 06 | Counts the Digits in a Number. | View Code |
| 07 | Finds the Largest Digit in a Number. | View Code |
| 08 | Finds the Smallest Digit in a Number. | View Code |
| 09 | Checks if a Given Year is a Leap Year. | View Code |
| 10 | Checks whether a Number is Even or Odd. | View Code |
| 11 | Checks whether a Number is Prime. | View Code |
| 12 | LeetCode 9. Palindrome Number | View Code |
| 13 | LeetCode 1295: Find Numbers with Even Number of Digits (String Method). | View Code |
| 14 | LeetCode 1295: Find Numbers with Even Number of Digits (Arithmetic Logic). | View Code |
| 15 | LeetCode 1: Two Sum Not Optimized | View Code |
| 16 | LeetCode 1: Two Sum Optimized Solution | View Code |
| 17 | LeetCode 2: Add Two Numbers | View Code |
| 18 | LeetCode 4: Add Two Numbers | View Code |
🚀 Built with JavaScript and modern development practices:
- JavaScript (ES6+) – Core programming language
- Node.js (Optional) – Running scripts outside the browser
- Git & GitHub – Version control and collaboration
✅ Well-structured JavaScript programs 📜
✅ Beginner-friendly and easy to understand 🎓
✅ Self-explanatory file names 🔍
✅ A growing collection of useful programs 📈
✅ Optimized code with best practices 🏆
🔗 Portfolio: ZeePortfolio
🐙 GitHub: mzeeshan138
📧 Email: muhammadzeeshan786138@gmail.com
🔗 LinkedIn: Muhammad Zeeshan
🔗 LeetCode Profile: Zeeshan's LeetCode Profile
⭐ If you find this repository helpful, please give it a star! ⭐