Fading Coder

One Final Commit for the Last Sprint

Using Union-Find with Path Compression and Dynamic Programming for Truth-Teller Identification

Problem Context An island has two types of inhabitants: truth-tellers, who always tell the truth, and liars, who always lie. Each inhabitent has a unique integer identifier. You are allowed n questions. Each question must be direcetd to one inhabitant, asking whether another inhabitant is a truth-te...