algorithms Definition Last In First Out LIFO refers to the push/pop behaviour of queues. LIFO means that the last element pushed is the first one to be removed. See stack.