algorithme les listes chainée 2024.

aidez moi a resoudre cet algo plz”donner moi des idée ma3lich c’est pour demain
soit T un tableau de 26 chaines de carctéres la liste 1 contient des mots commençant pr la lettre ”A” ,la liste 2 contient des mots commençants par la lettre ”B’
declarer T puis ecrire un algo qui recherche un mot donné M dans la structure

Which structure you mean? What’s about the array? what’s about the 2 lists? any kind of linked lists are? Tell us in a reply for helping you ALLAH willing

En c ……….

The title focus on linked lists, but the subject body focus on arrays… I would to know, any kind, and which uses do you mean by telling us about the twos listss? ██ Question

; algorithme exo
type
;pliste:^element
; elment=enregistrement
; info =chaine 30
; suiv : piste
;fin

var
; t: talbleau (‘a’…’z’)de pliste
m:chaine 30
p: pliste
; existe;booleen

debut
; ecrire (‘donnerle mot’); lire m
; exist =faux
tant que p=/= de nil et non exist
faire
si p^info=m alors ecrire exist = vrai
;fsi
p=p^suiv
fait
si exist ecrire (le mot exist
sinon ecrire le mot n’existent pas
fsi;
.fin

الله يهنيك