GithubHelp home page GithubHelp logo

google's Introduction

google

This is code I'm working on while I study for the google interview

I'm using it to demo: hash tables stacks linked list anything else as I work on the project.

The concept is simple. I'm pulling a large (26MB) dictionary file fromm the gutenburg project. It has words in all caps on a line by themselves and definition text afterwards using the first line of the defintion keyword DEFN:.

I intend to use gnu regex api to find the word, put it on the stack and then find the corresponding definition text afterwards and put each line on the stack as I parse them.

When i have the word and defintion lines complete, I'll pop them and build an entry for the hash table. The key will be the word and the value for the table will be the definition text. The hash table index based on the key will be a simple xor16 and I will store collisions with linked lists.

Afterwards I hope to do definition lookup from the hash table.

I'm hoping this will demo my abiltiy to implement the elementary data structures, ability to implement a working project, unit tests and ability to use git.

google's People

Contributors

netskink avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

google's Issues

This code does not build

It appears not to build. It seems that I have not pushed the latest code from my laptop in North Carolina.

I'll fix it when I get access to that laptop.

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.