MCPcopy Create free account
hub / github.com/corpsepiges/leetcode / insert

Method insert

java/380. Insert Delete GetRandom O(1).java:12–19  ·  view source on GitHub ↗

Inserts a value to the set. Returns true if the set did not already contain the specified element.

(int val)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

addMethod · 0.45

Tested by

no test coverage detected