covid_tree.c
//Calculating Hash, using %100 modulo 100 is not efficient used for demonstrating

Calculating Hash, using %100 modulo 100 is not efficient used for demonstrating
Calculating Hash using %100 modulo 100 is not efficient used for demonstrating
int calculate_key(char *buffer)
{
    unsigned long hash = 5381;
    int c;
    while (c = *buffer++)
        hash = ((hash << 5) + hash) + c; 
    return hash%59;
}
int calculate_key ( char * buffer ) { unsigned long hash = 5381 ; int c ; while ( c = * buffer ++ ) hash = ( ( hash << 5 ) + hash ) + c ; return hash % 59 ; }
Calculating Hash, using %100 modulo 100 is not efficient used for demonstrating
Calculating Hash using %100 modulo 100 is not efficient used for demonstrating
/* hash * 33 + c */