{"id":18792367,"url":"https://github.com/kplanisphere/tda_list_implementation_cpp","last_synced_at":"2025-12-28T09:30:14.582Z","repository":{"id":241960141,"uuid":"808315560","full_name":"KPlanisphere/TDA_List_Implementation_CPP","owner":"KPlanisphere","description":"Proyecto 2 - Estructuras de Datos","archived":false,"fork":false,"pushed_at":"2024-05-30T20:15:56.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-29T15:26:05.909Z","etag":null,"topics":["algorithm-implementation","circular-linked-list","cpp","data-structures","doubly-linked-list","list-implementation","memory-management","singly-linked-list"],"latest_commit_sha":null,"homepage":"https://linktr.ee/planisphere.kgz","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KPlanisphere.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-30T20:15:02.000Z","updated_at":"2024-05-30T21:38:18.000Z","dependencies_parsed_at":"2024-05-30T23:01:19.151Z","dependency_job_id":"659d87b6-2478-4853-8f3b-c8af26e8d80f","html_url":"https://github.com/KPlanisphere/TDA_List_Implementation_CPP","commit_stats":null,"previous_names":["kplanisphere/tda_list_implementation_cpp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KPlanisphere%2FTDA_List_Implementation_CPP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KPlanisphere%2FTDA_List_Implementation_CPP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KPlanisphere%2FTDA_List_Implementation_CPP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KPlanisphere%2FTDA_List_Implementation_CPP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KPlanisphere","download_url":"https://codeload.github.com/KPlanisphere/TDA_List_Implementation_CPP/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239718371,"owners_count":19685725,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithm-implementation","circular-linked-list","cpp","data-structures","doubly-linked-list","list-implementation","memory-management","singly-linked-list"],"created_at":"2024-11-07T21:19:38.472Z","updated_at":"2025-12-28T09:30:14.533Z","avatar_url":"https://github.com/KPlanisphere.png","language":"C++","readme":"# TDA List Implementation in C++\n\n### Project Description\n\nThis project provides a basic implementation of a list data structure using C++. It is designed to demonstrate fundamental operations on lists, such as insertion, deletion, and searching. The project is suitable for educational purposes and can serve as a foundation for more advanced data structure projects.\n\n### Features\n\n-   **Insert at the End**: Add an element to the end of the list.\n-   **Insert at the Beginning**: Add an element to the start of the list.\n-   **Delete the Last Element**: Remove the last element of the list.\n-   **Delete the First Element**: Remove the first element of the list.\n-   **List All Elements**: Display all elements in the list along with their positions.\n-   **Check if the List is Empty**: Verify if the list contains no elements.\n-   **Check if the List is Full**: Verify if the list has reached its maximum capacity.\n-   **Search for an Element**: Find and display the position of a specified element in the list.\n-   **Get the Last Element**: Display the last element in the list.\n-   **Get the First Element**: Display the first element in the list.\n\n### Files\n\n1.  **operaciones.h**: Header file containing the definition of the `TDA` class and its member functions.\n2.  **operaciones.cpp**: Implementation file for the `TDA` class, providing the logic for list operations.\n3.  **Lista TDAV2.cpp**: Main file demonstrating the usage of the `TDA` class with a simple menu-driven interface.\n\n### Class and Methods\n\n-   **TDA Class**:\n    -   **Attributes**:\n        -   `int lista[maxim]`: Array to store the elements of the list.\n        -   `int ultimo`: Index of the last element in the list.\n    -   **Methods**:\n        -   `TDA()`: Constructor to initialize the list.\n        -   `bool emptyList()`: Check if the list is empty.\n        -   `bool fullList()`: Check if the list is full.\n        -   `void addLast(int x)`: Add an element to the end of the list.\n        -   `void addFirst(int x)`: Add an element to the start of the list.\n        -   `void deleteFinal()`: Remove the last element of the list.\n        -   `void deleteFirst()`: Remove the first element of the list.\n        -   `void print()`: Display all elements in the list.\n        -   `void searchEle(int x)`: Search for an element in the list.\n        -   `void final()`: Display the last element in the list.\n        -   `void first()`: Display the first element in the list.\n\n### Usage\n\nTo run the project, compile the main file (`Lista TDAV2.cpp`) along with the implementation file (`operaciones.cpp`), and then execute the compiled binary. The program will present a menu allowing you to perform various operations on the list.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkplanisphere%2Ftda_list_implementation_cpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkplanisphere%2Ftda_list_implementation_cpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkplanisphere%2Ftda_list_implementation_cpp/lists"}