/algoritmos_cpp

91 ejercicios en C++

Primary LanguageC++

Algorithms in C++

Table of Contents 📚

Description 📝

This repository contains a collection of algorithms implemented in C++. The goal of this project is to provide efficient and readable code, serving as a resource for learning and reference.

Structure 📂

The repository is structured as follows:

├───TALLER 1 - ESTRUCTURA SECUENCIAL
│   ├───Ejercicio 1
│   ├───Ejercicio 10
│   ├───Ejercicio 11
│   ├───Ejercicio 12
│   ├───Ejercicio 13
│   ├───Ejercicio 14
│   ├───Ejercicio 15
│   ├───Ejercicio 16
│   ├───Ejercicio 17
│   ├───Ejercicio 18
│   ├───Ejercicio 19
│   ├───Ejercicio 2
│   ├───Ejercicio 20
│   ├───Ejercicio 3
│   ├───Ejercicio 4
│   ├───Ejercicio 5
│   ├───Ejercicio 6
│   ├───Ejercicio 7
│   ├───Ejercicio 8
│   ├───Ejercicio 9
│   └───Taller N° 1 - Estructura Secuencial.pdf
├───TALLER 2 - ESTRUCTURA CONDICIONAL
│   ├───Ejercicio 1
│   ├───Ejercicio 10
│   ├───Ejercicio 11
│   ├───Ejercicio 12
│   ├───Ejercicio 13
│   ├───Ejercicio 14
│   ├───Ejercicio 15
│   ├───Ejercicio 2
│   ├───Ejercicio 3
│   ├───Ejercicio 4
│   ├───Ejercicio 5
│   ├───Ejercicio 6
│   ├───Ejercicio 7
│   ├───Ejercicio 8
│   ├───Ejercicio 9
│   ├───Taller N° 2 - Estructura Condicional.pdf
│   └───Examen Practico
│       ├───ejercicio 1
│       ├───ejercicio 2
│       ├───ejercicio 3
│       └───ejercicio 4
├───TALLER 3 - ESTRUCTURA SELECTIVA MULTIPLE
│   ├───EJERCICIO 1
│   ├───EJERCICIO 10
│   ├───EJERCICIO 11
│   ├───EJERCICIO 12
│   ├───EJERCICIO 13
│   ├───EJERCICIO 14
│   ├───EJERCICIO 15
│   ├───EJERCICIO 2
│   ├───EJERCICIO 3
│   ├───EJERCICIO 4
│   ├───EJERCICIO 5
│   ├───EJERCICIO 6
│   ├───EJERCICIO 7
│   ├───EJERCICIO 8
│   ├───EJERCICIO 9
│   └───Taller N° 3 - Estructura Selectiva Multiple.pdf
├───TALLER 4 - ESTRUCTURA REPETITIVA MIENTRAS
│   ├───EJERCICIO 1
│   ├───EJERCICIO 10
│   ├───EJERCICIO 11
│   ├───EJERCICIO 12
│   ├───EJERCICIO 13
│   ├───EJERCICIO 14
│   ├───EJERCICIO 2
│   ├───EJERCICIO 3
│   ├───EJERCICIO 4
│   ├───EJERCICIO 5
│   ├───EJERCICIO 6
│   ├───EJERCICIO 7
│   ├───EJERCICIO 8
│   ├───EJERCICIO 9
│   └───Taller N° 4 - Estructura Repetitiva Mientras-hacer y Hacer-mientras.pdf
├───TALLER 5 - ESTRUCTURA REPETITIVA PARA
│   ├───EJERCICIO 1
│   ├───EJERCICIO 2
│   ├───EJERCICIO 3
│   ├───EJERCICIO 4
│   ├───EJERCICIO 5
│   ├───EJERCICIO 6
│   ├───EJERCICIO 7
│   └───Taller N° 5 - Estructura Repetitiva Para.pdf
├───TALLER 6 - SUBPROGRAMAS
│   ├───EJERCICIO 1
│   ├───EJERCICIO 10
│   ├───EJERCICIO 2
│   ├───EJERCICIO 3
│   ├───EJERCICIO 4
│   ├───EJERCICIO 5
│   ├───EJERCICIO 6
│   ├───EJERCICIO 7
│   ├───EJERCICIO 8
│   ├───EJERCICIO 9
│   ├───Taller N° 6 - Subprogramas.pdf
│   └───Examen Practico
└───TALLER 7 - ARREGLOS
    ├───EJERCICIO 1
    ├───EJERCICIO 10
    ├───EJERCICIO 2
    ├───EJERCICIO 3
    ├───EJERCICIO 4
    ├───EJERCICIO 5
    ├───EJERCICIO 6
    ├───EJERCICIO 7
    ├───EJERCICIO 8
    ├───EJERCICIO 9
    ├───Taller N° 7 - Arreglos.pdf    
    └───Examen Practico
        ├───EJERCICIO 1
        ├───EJERCICIO 2
        └───EJERCICIO 3

Each folder contains a series of algorithms implemented in a <name>.cpp file. Navigate to the individual folders and select the .pdf file to explore the proposed algorithms.

Getting Started 🚀

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites 📋

Ensure you have the following installed on your local system:

  • C++ compiler (GCC, Clang, MSVC etc.)

Clone 📲

Clone the repository to your local machine

git clone https://github.com/16george/algoritmos_cpp.git

Build 🔨

Navigate to the directory of the project and run the following:

g++ filename.cpp -o filename

Run ▶️

To run the compiled file, execute:

./filename

Contribution 🤝

Contributions are always welcome. To contribute:

  1. Fork the project.
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature).
  3. Commit your changes (git commit -m 'Add some AmazingFeature').
  4. Push to the Branch (git push origin feature/AmazingFeature).
  5. Open a Pull Request.

Troubleshooting 🔧

If you encounter any problems with the setup or execution of these algorithms, please check the following:

  1. Ensure your C++ compiler is correctly installed and in your system's PATH.
  2. Make sure you have the necessary permissions to clone, build, and run the code in your environment.
  3. If a specific algorithm isn't working as expected, please check the algorithm's logic and make sure you're providing the correct inputs.

If you encounter any problems while setting up or running the application, please check the Issues section of this repository to see if your issue has already been addressed. If not, feel free to open a new issue with a description of the problem you're experiencing.

License 📄

MIT License

Copyright (c) 2020 George Namoc

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.