Introduction to Arrays: Implement a Basic Sorting Algorithm in C++
@vishwa-X 已经在做这个了。
开始于 2023年10月19日。
评估
- 难度
- 1/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 45/100
- Issue 类型
- 功能
- 描述清晰度
- 描述清楚
- 活跃度
- 停滞
- 技术栈
- cpp
调研方向
创建名为 bubble_sort.cpp 的文件,并从 issue 的 Bubble Sort 要求开始。使用大小各异且输入顺序不同的整数数组编译并运行程序;当每个经过测试的数组都按升序排序时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
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:
- Fork this repository to your GitHub account.
- Clone the forked repository to your local machine:
git clone https://github.com/KALIIOWORK/basic_c-_programs.git - Create a new C++ file named
bubble_sort.cpp. - Write a program that takes an array of integers as input and sorts it using the Bubble Sort algorithm.
- Ensure your program works for arrays of varying sizes.
- Test your sorting algorithm with different input arrays to validate its correctness.
- Compile and run your program to ensure it works correctly.
- Commit your changes and push them to your forked repository.
- 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! 🚀✨
- 主要语言
- C++
- 星标
- 0
- 派生
- 6
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
KALIIOWORK/basic_c-_programs 的其他 Issue
-
Introduction to Control Statements: Implementing a Number Guessing Game in C++可能重新可做 @noureennaaz 于 1089 天前认领,目前没有进行中的 PR。 未关闭good first issue hacktoberfest
难度 2/5 1-3 小时 新手友好度 45/100
KALIIOWORK/basic_c-_programs#9 · 1 条评论 ·
-
Introduction to Functions: Building a Basic Calculator Program in C++可能重新可做 @Tashuuuu 于 1092 天前认领,目前没有进行中的 PR。 未关闭good first issue hacktoberfest
难度 2/5 1-3 小时 新手友好度 45/100
KALIIOWORK/basic_c-_programs#8 · 1 条评论 ·
-
good first issue hacktoberfest
难度 2/5 1-3 小时 新手友好度 38/100
-
"Calculate and Print: Simple Arithmetic Operations in C++"可能重新可做 @Tashuuuu 于 1092 天前认领,目前没有进行中的 PR。 未关闭good first issue hacktoberfest
难度 2/5 1-3 小时 新手友好度 35/100
KALIIOWORK/basic_c-_programs#3 · 1 条评论 ·
查看 KALIIOWORK/basic_c-_programs 的全部 Issue
相似的 Issue
-
os:Linux
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
-
acceptable_buffer_backends: unknown backend names are silently ignored可能已有人在做 @mini-1235 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 70/100
ros2/rmw_fastrtps#945 ·
维护者通常 1 天内回复
-
bot-triaged module: correctness (silent) module: mps module: NaNs and Infs triage review
难度 2/5 半天 新手友好度 62/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复