Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/C-Plus-Plus
/ push
Method
push
data_structures/stack.hpp:47–53 ·
view source on GitHub ↗
Add new item to the stack */
Source
from the content-addressed store, hash-verified
source not stored for this graph (policy: none)
Callers
15
levelOrder
Function · 0.45
delete_word
Method · 0.45
testPush
Function · 0.45
testTop
Function · 0.45
testPop
Function · 0.45
testClear
Function · 0.45
testCopyOfStackHasSameData
Function · 0.45
testPushingToCopyDoesNotChangeOriginal
Function · 0.45
testPoppingFromCopyDoesNotChangeOriginal
Function · 0.45
testPushingToOrginalDoesNotChangeCopy
Function · 0.45
testPoppingFromOrginalDoesNotChangeCopy
Function · 0.45
testAssign
Function · 0.45
Calls
no outgoing calls
Tested by
11
testPush
Function · 0.36
testTop
Function · 0.36
testPop
Function · 0.36
testClear
Function · 0.36
testCopyOfStackHasSameData
Function · 0.36
testPushingToCopyDoesNotChangeOriginal
Function · 0.36
testPoppingFromCopyDoesNotChangeOriginal
Function · 0.36
testPushingToOrginalDoesNotChangeCopy
Function · 0.36
testPoppingFromOrginalDoesNotChangeCopy
Function · 0.36
testAssign
Function · 0.36
main
Function · 0.36