Mulatie Data Structure
Mulatie Data Structure
INSTITUTE OF TECHNOLOGY
DEPARTMENT OF SOFTWARE ENGINEERING
DATA structure and algorithm ASSIGNMENT
arr[j + 1] = temp ; }
int main() {
int size;
int arr[size];
bubbleSort(arr, size);
printArray(arr, size);
return 0;
Mulatie Kindie 1
DATA structure and algorithm INDIVIDUAL ASSIGNMENT
#include <iostream>
int minIndex = i;
minIndex = j;
arr[i] = arr[minIndex];
arr[minIndex] = temp;
int main() {
int size;
int arr[size];
selectionSort(arr, size);
return 0;
Mulatie Kindie 2
DATA structure and algorithm INDIVIDUAL ASSIGNMENT
#include <iostream>
Insertion sorting on my editor and word format
using namespace std;
int j = i - 1;
arr[j + 1] = arr[j];
j--;
arr[j + 1] = key;
int main() {
int size;
int arr[size];
insertionSort(arr, size);
return 0;
Mulatie Kindie 3