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

Function hashfunction

CPP/hashing/quadratic_probing.cpp:3–6  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#include <iostream>
2using namespace std;
3int hashfunction(int key)
4{
5 return key % 13;
6}
7int main()
8{
9 int a[] = {26, 28, 31, 34, 35, 25, 31, 31, 31, 25};

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected