Skip to content

CodeWiki is a CLI-based educational search engine developed in C, was the final project of the Algorithms and Data Structures II course. CodeWiki compares search performance between hash tables and binary search trees using CSV datasets about technologies and programming languages.

License

Notifications You must be signed in to change notification settings

BrantLauro/CodeWiki

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeWiki 📚🌐

A CLI-based Search Engine for Tech Data ⚙️
GitHub stars GitHub followers

softbus

💡 Description

CodeWiki is a command-line search engine developed in C as an educational project for the Algorithms and Data Structures II course. It allows users to compare the efficiency of hash table lookups and binary search on a dataset of technologies and programming languages.

The program reads a .csv file containing records about technologies and builds a hash table using the name of each technology as the key. The system tracks the number of comparisons required for both binary search and hash methods, offering a clear comparison of performance.

⚙️ Features

  • Import technology data from a .csv file
  • Create a hash table from the data using string keys
  • Perform:
    • Binary search
    • Hash table search (with chaining via linked lists)
  • Return formatted results with complete tech information
  • Count and compare the number of accesses per search method
  • Clean and user-friendly CLI interface

🔧 Tech Stack

  • C Programming Language
  • File I/O (CSV and TXT)
  • Command-line Interface (CLI)
  • Hash Tables with Linked Lists
  • Binary Search Algorithms

🚀 Installation

Click Here to download.

  • Important:
    • If you want to use the precompiled .exe, make sure to also download the dados.txt file and place it in the same folder as the executable.
    • If you prefer to compile the project yourself, download the pldb.csv file and uncomment line 39 in main.c.
      • When you run the program with that line active, it will generate a dados.txt file containing the hash table for all the data.
      • After generation, you can comment line 39 again, recompile the code, and you're ready to search for most technologies using the hash search method.

👨‍💻 Contributors

Lauro Brant (BrantLauro)

Information Systems Student - Unimontes

Thiago Rezende (thiagorezendev)

Information Systems Student - Unimontes

©️ Copyrights

This project is licensed under the MIT License.


LinkedIn Lauro Brant  ·  GitHub BrantLauro  

LinkedIn Thiago Rezende  ·  GitHub thiagorezendev  

About

CodeWiki is a CLI-based educational search engine developed in C, was the final project of the Algorithms and Data Structures II course. CodeWiki compares search performance between hash tables and binary search trees using CSV datasets about technologies and programming languages.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •