Calculate Defective Rate for Clone Human

# Introduction In this challenge, we will calculate the failure rate of a batch of clone humans produced by ten clone factories in the Galactic Empire. Each clone human has a hexadecimal ID number, and due to technical issues, some factories may produce duplicate clone humans. The task is to calculate the defective rate based on the matrix of clone human IDs and return the result as a floating-point number.

|
60 : 00

Click the virtual machine below to start practicing