Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 728 Bytes

File metadata and controls

30 lines (21 loc) · 728 Bytes

Sort

Exercise 01

There so many sort algorithm so far. More than 100! These are one of the common algorithm.

  • Bubble
  • Insertion
  • Selection
  • Merge
  • Quick

The fastest way to understand is get hands on it! Try to implement and analyze its time and space complexity. You can assess the algorithm at this questions. https://leetcode.com/problems/sort-an-array/

Exercise 02

  • What do you think is the best algorithm and why?
  • Compare Merge sort VS Quick Sort. Pros and Cons?

Exercise 03

What is the internal sort algorithm that the language you're familiar is using?

Exercise 04

  • Pick up any favorite sort algorithm you like. (Excluding the list in above.)
  • Any sort algorithm is ok! Even a stupid one!