Pigeonhole principle can be applied in the following computer science algorithms:
(a) hashing algorithm
(b) lossless compression algorithm
(c) both (a) and (b)
(d) none of the mentioned
I had been asked this question during an interview.
Query is from Applications of Pumping Lemma/Pigeonhole principle topic in section Properties of Regular Languages of Automata Theory