Fingerprint interview question

Mostly algorithms and data structure