Sort students marks using bubble and insertion algorithms

University/Institute: Coursera Project Network

Sort students marks using bubble and insertion algorithms

Description

The learner will create two sorting algorithms in Java programming language. The learner will create an optimised bubble sort function that sorts students' marks in ascending order by repeatedly swapping adjacent elements within an array if they are in the wrong order. The learner will also create an insertion sort function that sorts students' marks in ascending order by building a sorted array, one element at a time.

TAKE THIS COURSE