Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In order to prepare a criminal case, the police has to analyze the fingerprints found in a given room. More precisely, they have to show

In order to prepare a criminal case, the police has to analyze the fingerprints found in a given room. More precisely, they have to show that more than half of the fingerprints found in that room belong to the same individual (we will make a simple assumption here that the fingerprint is the same for all fingers of a person, for simplicity). You are given, in a folder, the set of fingerprints (as picture) and you are asked to identify whether it is true that more than half of those fingerprints are identical. You cannot sort the fingerprints, because you cannot clearly detect, with your own eyes, if two fingerprints are identical. Also, there is no way of ordering the fingerprints from smaller to larger. The only possible operation is to take two pictures representing two fingerprints, and put them in a specialized machine: the machine scans the two and returns whether they are identical or not. Devise an algorithm that will detect whether more than half of the fingerprints in the set are identical, using only the fingerprint comparator machine and making a maximum of O(n log n) comparisons.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DB2 Universal Database V7.1 Application Development Certification Guide

Authors: Steve Sanyal, David Martineau, Kevin Gashyna, Michael Kyprianou

1st Edition

0130913677, 978-0130913678

More Books

Students also viewed these Databases questions

Question

1. Understand how verbal and nonverbal communication differ.

Answered: 1 week ago