Stack implementation using List(Python)

Publicado em: 01 Janeiro 1970
no canal de: Engineering Mastery Made Simple
38
1

The functions associated with stack are:

empty() – Returns whether the stack is empty – Time Complexity: O(1)
size() – Returns the size of the stack – Time Complexity: O(1)
top() / peek() – Returns a reference to the topmost element of the stack – Time Complexity: O(1)
push(a) – Inserts the element ‘a’ at the top of the stack – Time Complexity: O(1)
pop() – Deletes the topmost element of the stack – Time Complexity: O(1)


Nesta página do site você pode assistir ao vídeo on-line Stack implementation using List(Python) duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Engineering Mastery Made Simple 01 Janeiro 1970, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 38 vezes e gostou 1 espectadores. Boa visualização!