Git Product home page Git Product logo

m4lf0rm3d / bijli-hash-table-database Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 5.69 MB

In this project, I used CSV module to implement CRUD operations on CSV file using Python Programming Language. The CSV file has over 400,000 records of phone numbers. Searching them linearly may cause a lot of time. Therefore, I used Hash Table to search phone numbers in O(1).

Python 100.00%
hash-table hash-tables csv hash-table-implementations hash-table-search hash-tables-algorithm linear-probing open-addressing separate-chaining python-hash-table python

bijli-hash-table-database's Introduction

BIJLI โ€” Search in a database in O(1) time

This is final project for the Data Structures I Course.
In this project, I used CSV module to implement CRUD operations on CSV file using Python Programming Language. The CSV file has over 400,000 records of phone numbers. Searching them linearly may cause a lot of time.
Therefore, I used Hash Table to search phone numbers in O(1). As BIJLI literlay means electric in urdu.

Installation

Install bijli.py with Python 3.x or greater

  cd 'BIJLI-Hash-Table-Database'
  python3 bijli.py

Documentation

To manually add your own database, add CSV file to root folder.
Then, add it to file_path variable in read_database_linear.py and read_database_linked.py.
Remember, the path needs to be relative!

Tech Stack

Python 3, CSV, Python CSV module

Support

For support, email [email protected] or join me on Instagram: xorahsan.

bijli-hash-table-database's People

Contributors

m4lf0rm3d avatar

Stargazers

SyedFahadNadeem. avatar

Watchers

 avatar

Forkers

rohanraaj2

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.