알고리즘/그외 (2) 썸네일형 리스트형 Leetcode 2359. Find Closest Node to Given Two Nodes - kotlin https://leetcode.com/problems/find-closest-node-to-given-two-nodes/ Find Closest Node to Given Two Nodes - LeetCode Find Closest Node to Given Two Nodes - You are given a directed graph of n nodes numbered from 0 to n - 1, where each node has at most one outgoing edge. The graph is represented with a given 0-indexed array edges of size n, indicating that there is a dire leetcode.com class Soluti.. leetcode snake and ladders - kotlin https://leetcode.com/problems/snakes-and-ladders Snakes and Ladders - LeetCode Snakes and Ladders - You are given an n x n integer matrix board where the cells are labeled from 1 to n2 in a Boustrophedon style [https://en.wikipedia.org/wiki/Boustrophedon] starting from the bottom left of the board (i.e. board[n - 1][0]) and alternati leetcode.com class Solution { fun snakesAndLadders(board: Arra.. 이전 1 다음