NEC Electronics · 2081 · Question 17

Sorting pseudo: for i=0..n-1: for j=i+1..n-1: if arr[j] < arr[i] swap(arr[i], arr[j]) Identify the sort:

PANA Academy Past Question Hints and Solutions - Electronics Set

ABubble sort
BSelection sort
CInsertion sort
DQuick sort
Checking answer access…
Sorting pseudo: for i=0..n-1: for j=i+1..n-1: if arr[j] < arr[i] swap(arr[… | NEC Electronics | License Prep