MCPcopy Create free account
hub / github.com/algorithmzuo/algorithm-journey / remove

Method remove

src/class032/Code01_Bitset.java:29–31  ·  view source on GitHub ↗
(int num)

Source from the content-addressed store, hash-verified

27 }
28
29 public void remove(int num) {
30 set[num / 32] &= ~(1 << (num % 32));
31 }
32
33 public void reverse(int num) {
34 set[num / 32] ^= 1 << (num % 32);

Callers 7

mainMethod · 0.95
mainMethod · 0.45
mainMethod · 0.45
eraseMethod · 0.45
minimumDeviationMethod · 0.45
fMethod · 0.45
ladderLengthMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected