MCPcopy Create free account
hub / github.com/MaskRay/LeetCode / dec

Method dec

all-oone-data-structure.cc:29–43  ·  view source on GitHub ↗

Decrements an existing key by 1. If Key's value is 1, remove it from the data structure. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

eraseMethod · 0.80
insertMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected