This project is the implementatino for DHT(Distributed Hash Table), which is a decentralized distributed system that provides a lookup service similar to a hash table. There are (key, value) pairs. Given the key, the value associated can be retrieved efficiently.
- This project uses Union Find Set algorithm to get result.
- The input must be
DHT.in
and the output must beDHTout.out
.
You can use the following script to compile and execute
gcc main.c -o dht
./dht