목록2023/06 (12)
넘치게 채우기
https://leetcode.com/problems/check-if-it-is-a-straight-line/description/ Check If It Is a Straight Line - LeetCode Can you solve this real interview question? Check If It Is a Straight Line - You are given an array coordinates, coordinates[i] = [x, y], where [x, y] represents the coordinate of a point. Check if these points make a straight line in the XY plane. leetcode.com 문제 유형 : 수학 문제 난이도 : ..
https://leetcode.com/problems/number-of-provinces/description/ Number of Provinces - LeetCode Can you solve this real interview question? Number of Provinces - There are n cities. Some of them are connected, while some are not. If city a is connected directly with city b, and city b is connected directly with city c, then city a is connected indire leetcode.com 문제 유형 : 완전 탐색 / dfs 문제 난이도 : Mediu..