Skip to content

onkarrai06/DSAProject-Messi-sCareer

Repository files navigation

DSA Project: Messi's Football Career (2022)

This repository contains the Data Structures and Algorithms (DSA) project focusing on analyzing Lionel Messi's illustrious football career. The project aims to explore and understand various DSA concepts by applying them to real-world data related to Messi's performances, achievements, and statistics.

How to run

  • Clone the repository.
  • Open it on a C++ IDE or using command line.
  • Build it and run the program.

Features

  1. Print all of Messi's club goals with details such as Competition, Date, Venue, Club For, Club Against, Time, Assist, etc upon parsing the file. This is initially done into a linked list, which is then changed to other data structures for later functions.

  2. Search a team that Messi has scored against (i.e: Arsenal FC, Real Madrid, Manchester United, etc). Upon entering the name of the team, it would tell you the number of goals scored against that team. This is done after converting the linked list to a Binary Search Tree for the teams only to consume less memory, and then performing a search on that tree.

  3. Search a player to get his records on assists to Messi (i.e: Neymar, Andres Iniesta). Upon entering the name of the player, it would tell you the number of assists given to Messi. This is done after making a Hash Table from the data and searching and inserting with O(1) time complexity to increase speed.

  4. Print the goal records with respect to time of goal scored (i.e: Enter the range of time (1-10, 10-20) and get the records). This has also been done using a hash table that stores records for each portion of time.

  5. Exit the program.

Contributions

  • Fork the project repository.
  • Create a separate branch for your intended changes.
  • Create a pull request or open an issue in the repository.

Disclaimer

This project is for educational purposes only and is not affiliated with Lionel Messi or any official entities associated with him.

About

DSA Project -

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages