Git Product home page Git Product logo

hotrace's Introduction

hotrace 🔥🔥

Subject

Coding a search engine is not that hard, but coding an efficent one, is a far more complicated task. It has been years that Google, Yahoo, Bing and more are engaging themselves in a battle of efficiency. A battle where everyone is in a mad rush : the HotRace.

You need to create a search engine, that will work using a 2 steps process:

  • Step 1: It will read on the stdin, and store for every keyword, his value in the memory.
  • Step 2: When it finds a '\n', the algorithm need to proceed the phase 2, meaning that from now your algorithm is gonna look for the word in the memory, and return you the value that was attached to. These instructions will follow this format:
key-word-1
value-1
key-word-2
value-2
[...]
key-word-x
value-x

key-word-2
value-2
key-word-invalid
Not found.
Read more here

esafar's 42 Exam Rank 02 Score

hotrace's People

Contributors

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