[LeetCode] 1319. Number of Operations to Make Network Connected - Java
·
알고리즘/LeetCode
https://leetcode.com/problems/number-of-operations-to-make-network-connected/description/ Number of Operations to Make Network Connected - LeetCode Can you solve this real interview question? Number of Operations to Make Network Connected - There are n computers numbered from 0 to n - 1 connected by ethernet cables connections forming a network where connections[i] = [ai, bi] represents a connec..
[LeetCode] 200. Number of Islands - Java
·
알고리즘/LeetCode
https://leetcode.com/problems/number-of-islands/ Number of Islands - LeetCode Number of Islands - Given an m x n 2D binary grid grid which represents a map of '1's (land) and '0's (water), return the number of islands. An island is surrounded by water and is formed by connecting adjacent lands horizontally or vertically. You may ass leetcode.com 문제 Given an m x n 2D binary grid grid which repres..
[LeetCode] 133. Clone Graph - Java
·
알고리즘/LeetCode
https://leetcode.com/problems/clone-graph/description/ Clone Graph - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 문제 Given a reference of a node in a connected undirected graph. Return a deep copy (clone) of the graph. Each node in the graph contains a value (int) and a list (Li..
HYOJUN
'graph' 태그의 글 목록