Skip to content

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

Notifications You must be signed in to change notification settings

m4lf0rm3d/BIJLI-Hash-Table-Database

Repository files navigation

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.

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages