Coder Social home page Coder Social logo

code-assignment's Introduction

Guide on how to run solutions

This README provides instructions for running the solutions to various coding problems included in this repository.
For this project, we will assume that you are already in the project's directory.

Problem 1

To run the solution for Problem 1, follow these steps:

  1. Open a terminal window.
  2. Navigate to the directory containing the solution for Problem 1 using the following command:
cd problem-1
  1. Run the solution script using Node.js by entering the following command:
node solution.js
  1. Follow the prompts displayed in the terminal to provide input as required by the solution.
  2. Once the solution has finished executing, review the output displayed in the terminal.

Watch Solution Video

Problem 2

To run the solution for Problem 2, follow these steps:

  1. Open a terminal window.
  2. Navigate to the directory containing the solution for Problem 2 using the following command:
cd problem-2
  1. Import or create your input file to the problem-2 directory. File should be named input.txt
  2. Run the solution script using Node.js by entering the following command:
node solution.js

This executes the script and creates an output.txt file in the problem 2 directory.
This file contains the result of the solution.

Watch Solution Video

code-assignment's People

Contributors

triverla avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.