MCPcopy Create free account
hub / github.com/acm-clan/algorithm-stone / swap

Function swap

templates/quicksort.cpp:3–8  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#include <stdio.h>
2
3void swap(int* a, int* b)
4{
5 int t = *a;
6 *a = *b;
7 *b = t;
8}
9
10int partition(int arr[], int low, int high)
11{

Callers 2

radix_sortFunction · 0.85
partitionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected