Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a24afe885f794e12

Jump to content

Talk:Weight-balanced tree

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
Latest comment: 9 years ago by Zigswatson

The definition of α-weight-balanced here is incorrect in the corner case that a node has only one child; the left-weight or the right-weight must be 0, so a 2-node tree is inherently imbalanced.-72.177.84.81 (talk) 01:23, 13 April 2016 (UTC)Reply

weight := size + 1, so the empty tree has weight 1, and a 2-node tree is α-weight-balanced whenever α <= 1/2. Zigswatson (talk) 20:36, 3 December 2016 (UTC)Reply