What is the Sorting
Sorting is the process of ordering items by some criteria. For example, it can be lexicographical order, ascending, descending, etc. Sorting is usually based on some property called sort key. Sorting complex items can be quite difficult and requires partial ordering.
Problem of sorting elements and sorting algorithms are fundamental area of programming. In this mini-course, we’ll take a look through the most popular and relevant sorting algorithms. These algorithms are universal and can be applied for sorting objects of any kind, but we'll start with simple structures - integer and float values. Note, that sorting is in ascending order by default.
Sorting algorithms differ by time and space complexity and approaches, so we’ll start with big-O notation first.
This is a demo of Selection Sort, the first one in our course.
Tack för dina kommentarer!
single
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal
Sammanfatta detta kapitel
Explain code
Explain why doesn't solve task
Awesome!
Completion rate improved to 7.69
What is the Sorting
Svep för att visa menyn
Sorting is the process of ordering items by some criteria. For example, it can be lexicographical order, ascending, descending, etc. Sorting is usually based on some property called sort key. Sorting complex items can be quite difficult and requires partial ordering.
Problem of sorting elements and sorting algorithms are fundamental area of programming. In this mini-course, we’ll take a look through the most popular and relevant sorting algorithms. These algorithms are universal and can be applied for sorting objects of any kind, but we'll start with simple structures - integer and float values. Note, that sorting is in ascending order by default.
Sorting algorithms differ by time and space complexity and approaches, so we’ll start with big-O notation first.
This is a demo of Selection Sort, the first one in our course.
Tack för dina kommentarer!
Awesome!
Completion rate improved to 7.69single