Photo by Mike Kilcoyne on Unsplash1791. Find Center of Star GraphTapan Rachchh·Jun 27, 2024·1 min readclass Solution: def findCenter(self, edges: List[List[int]]) -> int: for x in edges[0]: for y in edges[1]: if x == y: return x GraphPythonleetcode Share this