an urn containing n balls can be represented by the set u = {b1, b2, ... , bn}. interpret the following algorithm in the context
of urn problems. does it represent drawing with or without replacement? how many lines does it print? for i is in {1, 2, ... , n} do for j is in {1, 2, ... , n} do for k is in {1, 2, ... , n} do print bi, bj, bk
The algorithm prints out all the possible ways to draw 3 <span>balls in sequence, </span><span> ---Select--- with </span> <span>replacement. It prints</span> <span>lines.</span>