FIFO (First In, First Out) The first element added to the data structure is the first one to be removed,like queue of people waiting in lineπΆββ‘οΈπΆββ‘οΈπΆββ‘οΈπΆββββ‘οΈπΆββ‘οΈπΆββββ‘οΈ the first person in line is the first to get servedπΆββ‘οΈπΆββ‘οΈπΆββ‘οΈπΆββββ‘οΈπΆββ‘οΈπΆββββ‘οΈ LIFO (Last In, First Out) The last element added to the data structure is the first one to be removed, esu demo like stack of plates the last plate placed on top is the first one to be taken off or demo like ice cream π¦π¦the last cream is the first to be eaten π
Sep 10, 2024