Skip to content

Releases: PP-Namias/Final-Program-DSA

Data Structures and Algorithms Final Program

15 Dec 05:12
Compare
Choose a tag to compare

Data Structures and Algorithms Final Program

Overview

This C program, developed by the collaborative efforts of @PP-Namias, @Kurosawa-Z, @27Ronan, @Meixii, and @RensuGitHub, serves as the final project for the "Data Structures and Algorithms" course. The program encompasses various functionalities related to one-dimensional arrays, two-dimensional arrays, and a stack implemented using arrays.

Features

  • One-Dimensional Array Operations:

    • Array index composition
    • Traverse the array
    • Insert elements in a sorted manner
    • Insert unsorted elements and remove specified elements
    • Merge unsorted arrays
  • Two-Dimensional Array Operations:

    • Traverse a 2D array
    • Transpose a 2D array
  • Stack Using Array:

    • Push elements onto the stack
    • Pop elements from the stack
    • Display the elements in the stack

How to Use

  1. Run the program, and a menu will prompt you to choose between one-dimensional array operations, two-dimensional array operations, or the stack using an array.
  2. Follow the on-screen instructions for each operation, entering relevant inputs when prompted.
  3. Explore the various functionalities provided by the program.

Error Handling

  • The program incorporates error handling to address issues such as invalid array indices, input validation for non-integer values, and prevention of infinite loops caused by incorrect user inputs.

Code Structure

The code is organized into functions, each handling specific functionalities, making it modular and easy to understand. It follows best practices for code readability and adheres to a simple menu-driven interface.

GitHub Repository

Find the complete source code, collaboration history, and more information on the GitHub repository. The project is licensed under the MIT License.

Feel free to explore, contribute, or use the program as a learning resource for data structures and algorithms. Your feedback and contributions are welcome!