MCPcopy Index your code
hub / github.com/douchuan/algorithm / grandparent

Method grandparent

src/tree/binary/node.rs:268–270  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

266 }
267
268 pub fn grandparent(&self) -> Self {
269 self.parent().parent()
270 }
271
272 pub fn uncle(&self) -> Self {
273 let v = Node::uncle(self.node);

Callers 1

insert_fixFunction · 0.80

Calls 1

parentMethod · 0.80

Tested by

no test coverage detected