Jump to ratings and reviews
Rate this book

Sorting in C++: With help from our friend ChatGPT

Rate this book
This eBook provides an overview of a variety of C++ sorting methods as well as an insight into how ChatGPT (and perhaps by extension, other AI programs) can be helpful, or otherwise, when writing code.The sorting algorithms covered Merge Sort, In-place merge sort, Introsort, Heapsort, Insertion sort, Timsort, Selection sort, Cubesort, Shellsort, Bubble sort, Tree sort, Cycle sort, Library sort, Patience sorting, Smoothsort, Strand sort, Cocktail shaker sort, Comb sort, Gnome sort, Odd–even sort, Pigeonhole sort, Bucket sort (uniform keys), Bucket sort (integer keys), Counting sort, LSD Radix Sort, Spreadsort, Burstsort, and FlashsortThe eBook also contains a link to a file that you can download that contains all the C++ code.

98 pages, Kindle Edition

Published March 2, 2023

About the author

Robert Agar-Hutton

20 books1 follower

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
0 (0%)
4 stars
1 (50%)
3 stars
0 (0%)
2 stars
0 (0%)
1 star
1 (50%)
Displaying 1 of 1 review
12 reviews
June 5, 2023
Interesting what ChatGPT can do.

This book may be useful for learning sorting algorithms if you already have an in depth understanding of C++ coding language, but it is mostly here to showcase examples of code generated by an AI called Chat GPT, which can write its own code, apparently. In this book, there is a multitude of sorting methods, but no line-by-line explanation of what is happening. The code generated by the AI also uses non descriptive labels for variables, which makes most of the code difficult to understand.
Displaying 1 of 1 review

Can't find what you're looking for?

Get help and learn more about the design.