Coder Social home page Coder Social logo

test_case-acme_delivery_service's Introduction

ACME_delivery_service

https://elegant-semolina-ae5495.netlify.app/

  • Routes/nodes will be hardcoded in the application with a assumed values : "AB1", "AC4", "AD10", "BE3", "CD4", "CF2", "DE1", "EB3", "EA2", "FD1"

  • Current node network will be A --> F. And routes will only go one way.

  • Routes will follow the format of: [node_ofOrigin] + [node_ofDestination] + [cost]. example: AB1 (from A to B with a cost of 1)

  • Case 1: (Complete) User should be able to customize his own delivery with the current routes. example: [A-B-E] output: 4 [A-D] output: 10 [E-A-C-F] output: 8 [A-D-F] output: "No such route"

  • Case 2: (Complete) Calculate the number of possible delivery route that can be constructed by the given conditions. ( Do not count the route that has 0 costs) example: The number of the possible delivery routes from E to E without using the same route twice in a delivery route. [result: 5] [E - E], EB3 - BE3 (complete route) EA2 - AB1 - BE3 (complete route) EA2 - AC4 - CD4 - DE1 (complete route) EA2 - AC4 - CF2 - FD1 - DE1 (complete route) EA2 - AD10 - DE1 (complete route)

  • Case 3: (Complete) Calculate the cheapest delivery route between two towns. example: The cost of the cheapest delivery route between E to D. [result: 9]

test_case-acme_delivery_service's People

Contributors

sebastianlindback 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.