[CS Fundamentals] Sorting Algorithms
Selection Sort Selection sort is the simplest way to sort an array. Pretend that index 0 is the smallest, and we look at each element. We select the smallest element from other index and swap the two elements. array = [5, 7, 9, 0, 3, 1, 6, 2, 4, 8] ...
May 12, 20254 min read2
![[CS Fundamentals] Sorting Algorithms](/_next/image?url=https%3A%2F%2Fcdn.hashnode.com%2Fres%2Fhashnode%2Fimage%2Fupload%2Fv1746973590876%2Ffab37371-1496-42ef-950b-432e7637c89e.png&w=3840&q=75)
![[JavaScript] Tutorial for Sorting Table by Column - CRUD](/_next/image?url=https%3A%2F%2Fcdn.hashnode.com%2Fres%2Fhashnode%2Fimage%2Fupload%2Fv1685087876905%2F3a081488-9e06-4906-9445-4ed254daaf88.webp&w=3840&q=75)