Coder Social home page Coder Social logo

kcodechallenge's Introduction

KITOMBA Code Challenge

This repository contains the solutions to the three problems presented. Each problem is solved with a typescript file and run with JEST tests. These tests are also the method of input used. Outputs of the solvers are validated but not printed to the console. Some test inputs and outputs are validated by the use of text files.

Prerequisites

You will need nodejs LTS preferrably. Your system might need node-gyp to build the test suite dependency.

How to run

Make sure you have an up to date nodejs and then run:

git clone https://github.com/TheGuardianWolf/KCodeChallenge.git
cd KCodeChallenge
npm install
npm run test -- --verbose

Additional Notes

Most of the notes are in the code files as comments.

The third problem had a malformed input. This has been fixed in the resources file, so the input differs from what is written, but is correct according to the description.

Original:

5 5
1 2 N LMLMLMLMM 3 3 E
MMRMMRMRRM

Fixed:

5 5
1 2 N
LMLMLMLMM
3 3 E
MMRMMRMRRM

kcodechallenge's People

Contributors

theguardianwolf avatar dependabot[bot] avatar

Watchers

James Cloos avatar  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.