MCPcopy Create free account
hub / github.com/codemistic/Data-Structures-and-Algorithms / main

Function main

CPP/sorting/bucketsort.cpp:19–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17}
18
19int main()
20{
21 float arr[] = { 0.897, 0.565, 0.656, 0.1234, 0.665, 0.3434 };
22 int n = sizeof(arr) / sizeof(arr[0]);
23 bucketSort(arr, n);
24
25 cout << "Sorted array is \n";
26 for (int i = 0; i < n; i++)
27 cout << arr[i] << " ";
28 return 0;
29}

Callers

nothing calls this directly

Calls 1

bucketSortFunction · 0.70

Tested by

no test coverage detected