ended6월 29일· 1 sources

Celebrity Problem

Why it matters

Problem Statement A celebrity is a person who: - Knows no one. - Is known by everyone else. Given an N × N matrix: M[i][j] = 1 → i knows j Find the celebrity. Return: Celebrity Index OR -1 if no celeb...

1
Sources
+0
24h
Growth
84d
Active

Sources

Related Issues