An image is stored as a quad tree of black and white leaves. Return a black pixel chosen uniformly at random, so that every black pixel is equally likely.
An image is stored as a quad tree of black and white leaves. Return a black pixel chosen uniformly at random, so that every black pixel is equally likely.
Opens with the full question.