Computer Science, asked by muhamadsameer226, 6 months ago

Plz tell me Plz plz tell plz

Attachments:

Answers

Answered by MissCardiologist
32

\huge \fbox \colorbox{yellow}{❥Answer࿐ }

Find Password:

Detective Buckshee Junior has been approached by the shantiniketan kids

society for help in finding the password to the games complex. After hearing the

scenario, detective Buckshee Junior realises that he will need a programmer's

support He contacts you and requests your help. Please help the detective by

writing a function to generate the password,

The scenario is as below

Five numbers are available with the kids

These numbers are either stable or unstable

A number is stable if each of its digit occur the same number of times, ie the

frequency of each digit in the number is the same. Foreg 2277 4004. 11. 23

583835, 1010 are examples of stable numbers

Similarly. A number is unstable if the frequency of each digit in the number is

NOT the same. For e.g. 221, 4314. 101, 233, 58135, 101 are examples of

unstable numbers

The password can be found as below

Te password = Maximum of all stable numbers - Minimum of all stable

Answered by itzcottoncandy68
0

\huge \fbox \colorbox{yellow}{❥Answer࿐ } </p><p>❥Answer࿐

Similar questions