KALIIOWORK / KALIIOWORK/basic_c-_programs

Introduction to Arrays: Implement a Basic Sorting Algorithm in C++

Open
#7 1 comment 0 reactions 0 assignees View on GitHub
good first issue hacktoberfest
Dominant language
C++
Stars
0
Forks
6
PR merge metrics
No merged PRs in 30d

Description

Delve into the world of arrays and algorithms with this C++ task! This beginner-level challenge will guide you through implementing a basic sorting algorithm, honing your skills in array manipulation and algorithmic thinking.

**Task:**
Your challenge is to write a C++ program that sorts an array of integers in ascending order using the Bubble Sort algorithm. Understand the logic behind Bubble Sort and implement it in your program to sort the given array.

**Instructions:**
1. Fork this repository to your GitHub account.
2. Clone the forked repository to your local machine: `git clone https://github.com/KALIIOWORK/basic_c-_programs.git`
3. Create a new C++ file named `bubble_sort.cpp`.
4. Write a program that takes an array of integers as input and sorts it using the Bubble Sort algorithm.
5. Ensure your program works for arrays of varying sizes.
6. Test your sorting algorithm with different input arrays to validate its correctness.
7. Compile and run your program to ensure it works correctly.
8. Commit your changes and push them to your forked repository.
9. Open a pull request with your changes.

**Note:**
This task will enhance your understanding of arrays and introduce you to basic sorting algorithms. Bubble Sort is a great starting point! Happy coding! 🚀✨

Contributor guide

No contributing guide indexed for this repository

Research direction

Create the named bubble_sort.cpp file and begin with the issue's Bubble Sort requirements. Compile and run the program with integer arrays of varying sizes and different input orders; it is done when each tested array is sorted in ascending order.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
developer-experience
Issue type
Feature
Difficulty
1/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.