MCPcopy Create free account
hub / github.com/MAZHARMIK/Interview_DS_Algo / MaxStack

Method MaxStack

Design/Max Stack.cpp:34–37  ·  view source on GitHub ↗

direct access of max element Why ordered map ? Access of maximum element can be done in constant time (rbegin(mp)->first) */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected