

Étudies grâce aux nombreuses ressources disponibles sur Docsity
Gagnz des points en aidant d'autres étudiants ou achete-les avec un plan Premium
Cette page n'est pas visible dans l'aperçu
Ne manques pas les parties importantes!


Examen (session2) - dur´ee 1h
#i f n d e f LELEMENT H #define LELEMENT H struct l e l e m e n t { void ∗ data ; struct l e l e m e n t ∗ next ; } ; struct l e l e m e n t ∗ l l m i n i t e m p t y ( void ) ; struct l e l e m e n t ∗ l l m a d d h e a d ( struct l e l e m e n t ∗ , struct l e l e m e n t ∗ ) ; int l l m i s e m p t y ( struct l e l e m e n t ∗ ) ; #endif /∗ LELEMENT H ∗/
#i f n d e f HASHTABLE H #define HASHTABLE H struct h a s h t a b l e ; extern unsigned int hash ( void ∗ , unsigned int n ) ; extern int e q u a l s ( void ∗ , void ∗ ) ; struct h a s h t a b l e ∗ h a s h t a b l e i n i t ( unsigned int n ) ; int h a s h t a b l e f i n d ( struct h a s h t a b l e ∗ , void ∗ ) ; void h a s h t a b l e i n s e r t ( struct h a s h t a b l e ∗ , void ∗ ) ; void h a s h t a b l e f r e e ( struct h a s h t a b l e ∗ ) ; #endif /∗ HASHTABLE H ∗/