Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#7 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

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ả

good first issue hacktoberfest

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! 🚀✨

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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của KALIIOWORK/basic_c-_programs

Tất cả issue của KALIIOWORK/basic_c-_programs

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.