1.Answer step-by-step the following questions (algorithm analysis based on graphs):They alternate: dark, light, dark, light, and so on (Figure 1). You want all dark disks to be positioned on the sideright, while all clearings on the left side. The one movementallowed to reverse the positions of neighboring disks. Designan algorithm using raw force to solve the problem and indicate thecomplexity of the algorithm.
b) A company wishes to determine the highest floor of its headquarters, where acan fall without breaking. The company has two appliancesto perform the experiment. If one of them is broken, it will notbe repaired
PayPal Gateway not configured
PayPal Gateway not configured