Introduction to Arrays: Implement a Basic Sorting Algorithm in C++
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 1/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- cpp
- Lĩnh vực
- developer-experience
Hướng nghiên cứu
Tạo tệp có tên bubble_sort.cpp và bắt đầu với các yêu cầu Bubble Sort của issue. Biên dịch và chạy chương trình với các mảng số nguyên có kích thước khác nhau và thứ tự đầu vào khác nhau; công việc hoàn tất khi mọi mảng được kiểm thử đều được sắp xếp theo thứ tự tăng dần.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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! 🚀✨
- Ngôn ngữ chính
- C++
- Star
- 0
- Fork
- 6
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của KALIIOWORK/basic_c-_programs
-
good first issue hacktoberfest
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
KALIIOWORK/basic_c-_programs#9 · 1 bình luận ·
-
good first issue hacktoberfest
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
KALIIOWORK/basic_c-_programs#8 · 1 bình luận ·
-
good first issue hacktoberfest
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 38/100
-
good first issue hacktoberfest
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
KALIIOWORK/basic_c-_programs#3 · 1 bình luận ·
Tất cả issue của KALIIOWORK/basic_c-_programs
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
ArthurSonzogni/FTXUI#1363 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
ginkgo-project/ginkgo#2108 ·
-
[CI] Nightly Clang build broken: structured binding captured in a lambda in FileDataSource.cpp Đang mởbug build
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 91/100
facebookincubator/velox#19194 ·
-
JIT-compiled number -> Decimal conversion silently overflows instead of raising DECIMAL_OVERFLOW Đang mởfuzz
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
ClickHouse/ClickHouse#122114 ·