Skip to content

About

A collection of beginner-to-intermediate JavaScript problem-solving practices covering unit conversions, math operations, array manipulations, and basic logical algorithms.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

JavaScript Problem-Solving Practice

A repository containing basic to intermediate JavaScript programming problem solutions. This repo covers fundamental concepts like unit conversion, array operations, math methods, logic building, and object manipulation.

📁 Repository Overview

Here is a quick summary of the problems solved in this repository:

  • problem01.js & problem2.js: Unit conversion and average calculation logic for even numbers.
  • problem3.js: String array structuring for managing student lists.
  • problem4.js: Exploration and practical usage of the JavaScript Math object.
  • problem5.js: Swapping values using temporary variables and destructuring assignment.
  • problem6.js: Finding the maximum score using multiple approaches.
  • problem7.js: Finding the minimum number from an array.
  • problem8.js: Multi-layer discount calculation logic.
  • problem9.js: Finding the cheapest phone from an array of phone objects.
  • problem10.js: Temperature conversion program (Celsius to Fahrenheit).

🛠️ How to Run

  1. Clone this repository:

    git clone [https://github.com/code-with-arafat/](https://github.com/code-with-arafat/) repository-name.git
    
  2. Navigate to the project folder:
    Bash
    cd repository-name

  3. Run any problem file using Node.js:
    Bash
    node problem10.js

🚀 Key Topics Covered

  • Variable Swapping (Destructuring vs Temporary Variable)
  • Array Traversal & Object Filtering
  • JavaScript Math Object (Math.max, Math.min, etc.)
  • Multi-layer Conditionals & Discount Logic
  • Mathematical Unit Conversions

👨‍💻 Author Crafted with ❤️ by Arafat Ferdous

About

A collection of beginner-to-intermediate JavaScript problem-solving practices covering unit conversions, math operations, array manipulations, and basic logical algorithms.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages